class Lightspeed::API::Items::CustomFields
Attributes
client[R]
Public Class Methods
new(client)
click to toggle source
# File lib/lightspeed/api/items/custom_fields.rb, line 7 def initialize(client) @client = client end
Public Instance Methods
all()
click to toggle source
# File lib/lightspeed/api/items/custom_fields.rb, line 13 def all client. get("Account/#{client.account_id}/Item/CustomField.json"). body end
custom_field_choices()
click to toggle source
# File lib/lightspeed/api/items/custom_fields.rb, line 11 def custom_field_choices; API::Items::CustomFields::CustomFieldChoices.new(client); end