Module: RockRMS::Client::DefinedType

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

Instance Method Summary collapse

Instance Method Details

#find_defined_type(id) ⇒ Object



10
11
12
# File 'lib/rock_rms/resources/defined_type.rb', line 10

def find_defined_type(id)
  Response::DefinedType.format(get(defined_types_path(id)))
end

#list_defined_types(options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/rock_rms/resources/defined_type.rb', line 4

def list_defined_types(options = {})
  Response::DefinedType.format(
    get(defined_types_path, options)
  )
end