Module: Uphold::API::User
- Included in:
- Uphold::API
- Defined in:
- lib/uphold/api/user.rb
Instance Method Summary collapse
Instance Method Details
#me ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/uphold/api/user.rb', line 4 def me request_data = RequestData.new( Endpoints::USER, Entities::User, ) Request.perform_with_object(:get, request_data) end |
#phones ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/uphold/api/user.rb', line 13 def phones request_data = RequestData.new( Endpoints::USER_PHONES, Entities::Phone, ) Request.perform_with_objects(:get, request_data) end |