Class: CardDB::DeckCollaborator
Overview
Wrapper for deck collaborator objects
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
#account_id ⇒ Object
965
966
967
|
# File 'lib/carddb/collection.rb', line 965
def account_id
data['accountId']
end
|
#created_at ⇒ Object
977
978
979
|
# File 'lib/carddb/collection.rb', line 977
def created_at
parse_time(data['createdAt'])
end
|
#created_by_account_id ⇒ Object
973
974
975
|
# File 'lib/carddb/collection.rb', line 973
def created_by_account_id
data['createdByAccountId']
end
|
#deck_id ⇒ Object
961
962
963
|
# File 'lib/carddb/collection.rb', line 961
def deck_id
data['deckId']
end
|
#id ⇒ Object
957
958
959
|
# File 'lib/carddb/collection.rb', line 957
def id
data['id']
end
|
#role ⇒ Object
969
970
971
|
# File 'lib/carddb/collection.rb', line 969
def role
data['role']
end
|
#updated_at ⇒ Object
981
982
983
|
# File 'lib/carddb/collection.rb', line 981
def updated_at
parse_time(data['updatedAt'])
end
|