Class: Mdm::Enrollment::Profile
Instance Method Summary
collapse
accepted_params, #authenticate?, available_services, #params, #params=
Instance Method Details
#method ⇒ Object
16
17
18
|
# File 'lib/mdm/enrollment/service/profile.rb', line 16
def method
:get
end
|
#path ⇒ Object
12
13
14
|
# File 'lib/mdm/enrollment/service/profile.rb', line 12
def path
'/profile'
end
|
#result ⇒ Object
20
21
22
23
24
|
# File 'lib/mdm/enrollment/service/profile.rb', line 20
def result
{
profile: @profile.to_json
}
end
|
#start ⇒ Object
7
8
9
10
|
# File 'lib/mdm/enrollment/service/profile.rb', line 7
def start
super
find_or_create_profile
end
|