Sha256: f66a60ad864d8b87499ef5242bc2f6e580a60e97977d0c630f0905073ac99028

Contents?: true

Size: 409 Bytes

Versions: 95

Compression:

Stored size: 409 Bytes

Contents

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

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

      private

      def defined_types_path
        'DefinedTypes'.freeze
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 1 rubygems

Version Path
rock_rms-9.13.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.12.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.11.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.10.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.9.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.8.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.7.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.6.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.5.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.4.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.3.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.2.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.1.0 lib/rock_rms/resources/defined_type.rb
rock_rms-9.0.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.23.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.22.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.21.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.20.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.19.0 lib/rock_rms/resources/defined_type.rb
rock_rms-8.18.0 lib/rock_rms/resources/defined_type.rb