Class: Round::User
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
association, #hash_identifier, #initialize, #method_missing, #refresh
Constructor Details
This class inherits a constructor from Round::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Round::Base
Class Method Details
.hash_identifier ⇒ Object
5 6 7 |
# File 'lib/round/user.rb', line 5 def self.hash_identifier 'email' end |
Instance Method Details
#devices ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/round/user.rb', line 9 def devices resource = @client.resources.devices_query( email: self.refresh.email ) Round::DeviceCollection.new( resource: resource, client: @client ) end |
#wallet ⇒ Object
19 20 21 |
# File 'lib/round/user.rb', line 19 def wallet default_wallet end |