Sha256: 2a1d2d28e2e3a31eadaee86f29eaeeccd9e142b373ce97c6ba15c8c52a677da3

Contents?: true

Size: 731 Bytes

Versions: 12

Compression:

Stored size: 731 Bytes

Contents

module GoTransverseTractApi

  module Usage

    class GlobalUsageRule

      class << self

        def find_by_all 
          GoTransverseTractApi.get_response_for(self)
        end

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

        #
        # @param {Boolean} is_global
        #
        def find_by_is_global is_global
          GoTransverseTractApi.get_response_for(self, {is_global: is_global})
        end

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

      end

    end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/usage/global_usage_rule.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/usage/global_usage_rule.rb