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
1302
|
# File 'lib/carddb/collection.rb', line 1302
def dataset_key = data['datasetKey']
|
#errors ⇒ Object
1305
1306
1307
|
# File 'lib/carddb/collection.rb', line 1305
def errors
@errors ||= (data['errors'] || []).map { |error| RecordValidationError.new(error, client: client) }
end
|
#index ⇒ Object
1303
|
# File 'lib/carddb/collection.rb', line 1303
def index = data['index']
|