Sha256: 9a2a97bb44a7f423ad6a51f68748bef2475d9afaea9c1293f6f1520c4e8c4536

Contents?: true

Size: 411 Bytes

Versions: 4

Compression:

Stored size: 411 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={})
      page(params, :ticket_fields, "/ticket_fields.json", "ticket_fields")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zendesk2-0.4.4 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-0.4.3 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-0.4.2 lib/zendesk2/client/requests/get_ticket_fields.rb
zendesk2-0.4.1 lib/zendesk2/client/requests/get_ticket_fields.rb