Class: UseParagon::User
- Inherits:
-
Base
- Object
- Base
- UseParagon::User
show all
- Defined in:
- lib/use_paragon/user.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
#token, #user_id
Instance Method Summary
collapse
Methods inherited from Base
#generate_token, #initialize
Instance Method Details
#credentials ⇒ Object
17
18
19
|
# File 'lib/use_paragon/user.rb', line 17
def credentials
connection.get(path("sdk/credentials"))
end
|
#get ⇒ Object
9
10
11
|
# File 'lib/use_paragon/user.rb', line 9
def get
connection.get(path("sdk/me"))
end
|
13
14
15
|
# File 'lib/use_paragon/user.rb', line 13
def metadata=(metadata)
connection.patch(path("sdk/me"), metadata)
end
|