Class: TryTerra::AuthResource
Instance Attribute Summary
Attributes inherited from Resource
#client
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
Instance Method Details
#authenticate_user(**params) ⇒ Object
3
4
5
|
# File 'lib/try_terra/resources/auth.rb', line 3
def authenticate_user(**params)
Auth.new(post_request("auth/authenticateUser", params).body)
end
|
#deauthenticate_user(**params) ⇒ Object
7
8
9
|
# File 'lib/try_terra/resources/auth.rb', line 7
def deauthenticate_user(**params)
Auth.new(delete_request("auth/deauthenticateUser", params).body)
end
|