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