Sha256: 6a03a2585d0cd500fa5e7487c575a2207d3f9e374dd558d817fafe7907d15200

Contents?: true

Size: 409 Bytes

Versions: 26

Compression:

Stored size: 409 Bytes

Contents

class Zendesk2::Client
  class Real
    def get_ticket_fields(params={})
      page_params = Zendesk2.paging_parameters(params)

      request(
        :params  => page_params,
        :method  => :get,
        :path    => "/ticket_fields.json",
      )
    end
  end
  class Mock
    def get_ticket_fields(params={})
      collection(:ticket_fields, "/ticket_fields.json", "ticket_fields")
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
zendesk2-1.4.2 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.4.1 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.4.0 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.3.3 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.3.2 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.3.1 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.3.0 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.10 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.9 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.7 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.6 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.5 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.4 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.3 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.2 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.1 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.2.0 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.1.3 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.1.2 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-1.0.0 lib/zendesk2/client/requests/get_ticket_fields.rb