Module: Jerakia::Client::Scope
- Included in:
- Jerakia::Client
- Defined in:
- lib/jerakia/client/scope.rb
Instance Method Summary collapse
- #get_scope(realm, identifier) ⇒ Object
- #get_scope_uuid(realm, identifier) ⇒ Object
- #send_scope(realm, identifier, scope) ⇒ Object
Instance Method Details
#get_scope(realm, identifier) ⇒ Object
13 14 15 |
# File 'lib/jerakia/client/scope.rb', line 13 def get_scope(realm, identifier) get("/v1/scope/#{realm}/#{identifier}") end |
#get_scope_uuid(realm, identifier) ⇒ Object
9 10 11 |
# File 'lib/jerakia/client/scope.rb', line 9 def get_scope_uuid(realm, identifier) get("/v1/scope/#{realm}/#{identifier}/uuid") end |
#send_scope(realm, identifier, scope) ⇒ Object
5 6 7 |
# File 'lib/jerakia/client/scope.rb', line 5 def send_scope(realm, identifier, scope) put("/v1/scope/#{realm}/#{identifier}", scope) end |