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
955
956
957
|
# File 'lib/carddb/collection.rb', line 955
def account_id
data['accountId']
end
|
#created_at ⇒ Object
967
968
969
|
# File 'lib/carddb/collection.rb', line 967
def created_at
parse_time(data['createdAt'])
end
|
#created_by_account_id ⇒ Object
963
964
965
|
# File 'lib/carddb/collection.rb', line 963
def created_by_account_id
data['createdByAccountId']
end
|
#deck_id ⇒ Object
951
952
953
|
# File 'lib/carddb/collection.rb', line 951
def deck_id
data['deckId']
end
|
#id ⇒ Object
947
948
949
|
# File 'lib/carddb/collection.rb', line 947
def id
data['id']
end
|
#role ⇒ Object
959
960
961
|
# File 'lib/carddb/collection.rb', line 959
def role
data['role']
end
|
#updated_at ⇒ Object
971
972
973
|
# File 'lib/carddb/collection.rb', line 971
def updated_at
parse_time(data['updatedAt'])
end
|