Sha256: 8f5df0a416606a74e1d059fd2109f2bbaa1e703482f28c6da34b6c7fd9f9242c

Contents?: true

Size: 1.54 KB

Versions: 14

Compression:

Stored size: 1.54 KB

Contents

module GoTransverseTractApi

  module BillingAccount

    class CustomField

      class << self

        def find_all
          GoTransverseTractApi.get_response_for(self)
        end

        #
        # @param {Long} eid
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_eid eid, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {eid: eid, queryScope: query_scope})
        end

        #
        # @param {String} name
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_name name, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {name: name, queryScope: query_scope})
        end

        #
        # @param {String} type
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_type type, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {type: type, queryScope: query_scope})
        end

        #
        # @param {Boolean} enabled
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_enabled enabled, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {enabled: enabled, queryScope: query_scope})
        end

        #
        # @param {Boolean} searchable
        # @param {String} query_scope (default: 'SHALLOW')
        #
        def find_by_searchable searchable, query_scope=nil
          GoTransverseTractApi.get_response_for(self, {searchable: searchable, queryScope: query_scope})
        end

      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.7.4 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.7.3 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.7.2 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.7.1 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.7.0 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.7 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.6 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.5 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.4 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.3 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.2 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.1 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.6.0 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.5.3 lib/gotransverse-tract-api/billing_account/custom_field.rb