class Lightspeed::API::Items::CustomFields::CustomFieldChoices

Attributes

client[R]

Public Class Methods

new(client) click to toggle source
# File lib/lightspeed/api/items/custom_fields/custom_field_choices.rb, line 6
def initialize(client)
  @client = client
end

Public Instance Methods

all(field_id) click to toggle source
# File lib/lightspeed/api/items/custom_fields/custom_field_choices.rb, line 10
def all(field_id)
  client.
    get("Account/#{client.account_id}/Item/CustomField/#{field_id}/CustomFieldChoice.json").
    body
end