Module: RockRMS::Client::Registration

Included in:
RockRMS::Client
Defined in:
lib/rock_rms/resources/registration.rb

Constant Summary collapse

PATH =
'Registrations'.freeze

Instance Method Summary collapse

Instance Method Details

#delete_registration(id) ⇒ Object



16
17
18
# File 'lib/rock_rms/resources/registration.rb', line 16

def delete_registration(id)
  delete(registration_path(id))
end

#find_registration(id) ⇒ Object



11
12
13
14
# File 'lib/rock_rms/resources/registration.rb', line 11

def find_registration(id)
  res = get(registration_path(id))
  Response::Registration.format(res)
end

#list_registrations(options = {}) ⇒ Object



6
7
8
9
# File 'lib/rock_rms/resources/registration.rb', line 6

def list_registrations(options = {})
  res = get(registration_path, options)
  Response::Registration.format(res)
end