Sha256: f39522771bb7c7580778c158fc7efbd0311d41b7328886e336724964f954e882

Contents?: true

Size: 1.04 KB

Versions: 14

Compression:

Stored size: 1.04 KB

Contents

module GoTransverseTractApi

  module BillingAccount

    class CustomField

      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

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

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

      end

    end

  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gotransverse-tract-api-0.5.2 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.5.1 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.5.0 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.4.3 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.4.2 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.4.1 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.4.0 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.3.4 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.3.3 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.3.2 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.3.1 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.3.0 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.2.5 lib/gotransverse-tract-api/billing_account/custom_field.rb
gotransverse-tract-api-0.2.4 lib/gotransverse-tract-api/billing_account/custom_field.rb