Class: CardDB::BulkRecordError
Instance Attribute Summary
Attributes inherited from Resource
#client, #data
Instance Method Summary
collapse
Methods inherited from Resource
#[], #initialize, #key?, #to_h, #to_json
Instance Method Details
#dataset_key ⇒ Object
1252
|
# File 'lib/carddb/collection.rb', line 1252
def dataset_key = data['datasetKey']
|
#errors ⇒ Object
1255
1256
1257
|
# File 'lib/carddb/collection.rb', line 1255
def errors
@errors ||= (data['errors'] || []).map { |error| RecordValidationError.new(error, client: client) }
end
|
#index ⇒ Object
1253
|
# File 'lib/carddb/collection.rb', line 1253
def index = data['index']
|