Class: Mdm::Enrollment::Account
Instance Method Summary
collapse
accepted_params, #authenticate?, available_services, #params, #params=, #start
Instance Method Details
#method ⇒ Object
11
12
13
|
# File 'lib/mdm/enrollment/service/account.rb', line 11
def method
:get
end
|
#path ⇒ Object
7
8
9
|
# File 'lib/mdm/enrollment/service/account.rb', line 7
def path
'/account'
end
|
#result ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/mdm/enrollment/service/account.rb', line 15
def result
{
server_name: client.response['server_name'],
server_uuid: client.response['server_uuid'],
facilitator_id: client.response['facilitator_id'],
admin_id: client.response['admin_id'],
org_name: client.response['org_name'],
org_email: client.response['org_email'],
org_phone: client.response['org_phone'],
org_address: client.response['org_address'],
}
end
|