Sha256: 4cae03dfb582aef110e56866aa0b20e2388821db0eeb308bde213f03f62ebb6d

Contents?: true

Size: 701 Bytes

Versions: 27

Compression:

Stored size: 701 Bytes

Contents

module GoTransverseTractApi

  module Service

    class ServiceResourceCategory

      class << self

        def find_all
          GoTransverseTractApi.get_response_for(self)
        end

        #
        # @param {Long} eid
        #
        def find_by_eid eid
          GoTransverseTractApi.get_response_for(self, {eid: eid})
        end

        #
        # @param {String} name
        #
        def find_by_name name
          GoTransverseTractApi.get_response_for(self, {name: name})
        end

        #
        # @param {String} type
        #
        def find_by_type type
          GoTransverseTractApi.get_response_for(self, {type: type})
        end

      end

    end

  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.3 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.2 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.1 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.2.0 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.1.12 lib/gotransverse-tract-api/service/service_resource_category.rb
gotransverse-tract-api-0.1.11 lib/gotransverse-tract-api/service/service_resource_category.rb