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
1099
1100
1101
|
# File 'lib/carddb/collection.rb', line 1099
def account_id
data['accountId']
end
|
#created_at ⇒ Object
1111
1112
1113
|
# File 'lib/carddb/collection.rb', line 1111
def created_at
parse_time(data['createdAt'])
end
|
#created_by_account_id ⇒ Object
1107
1108
1109
|
# File 'lib/carddb/collection.rb', line 1107
def created_by_account_id
data['createdByAccountId']
end
|
#deck_id ⇒ Object
1095
1096
1097
|
# File 'lib/carddb/collection.rb', line 1095
def deck_id
data['deckId']
end
|
#id ⇒ Object
1091
1092
1093
|
# File 'lib/carddb/collection.rb', line 1091
def id
data['id']
end
|
#role ⇒ Object
1103
1104
1105
|
# File 'lib/carddb/collection.rb', line 1103
def role
data['role']
end
|
#updated_at ⇒ Object
1115
1116
1117
|
# File 'lib/carddb/collection.rb', line 1115
def updated_at
parse_time(data['updatedAt'])
end
|