class Eol::Address

Public Instance Methods

base_path() click to toggle source
# File lib/eol/resources/address.rb, line 6
def base_path
  "crm/Addresses"
end
mandatory_attributes() click to toggle source
# File lib/eol/resources/address.rb, line 10
def mandatory_attributes
  [:type]
end
other_attributes() click to toggle source

start.exactonline.nl/docs/HlpRestAPIResourcesDetails.aspx?name=CRMAddresses

# File lib/eol/resources/address.rb, line 15
def other_attributes # rubocop:disable Metrics/MethodLength
  [
    :account, :account_is_supplier, :account_name,
    :address_line1, :address_line2, :address_line3, 
    :city, :contact, :contact_name, 
    :country, :country_name, :created, 
    :creator, :creator_full_name, :division,
    :fax, :free_bool_field_01, :free_bool_field_02,
    :free_bool_field_03, :free_bool_field_04, :free_bool_field_05,
    :free_date_field_01, :free_date_field_02, :free_date_field_03, 
    :free_date_field_04, :free_date_field_05, :free_number_field_01,
    :free_number_field_02, :free_number_field_03, :free_number_field_04,
    :free_number_field_05, :free_text_field_01, :free_text_field_02,
    :free_text_field_03, :free_text_field_04, :free_text_field_05,
    :mailbox, :main, :modified, :modifier, :modifier_full_name, 
    :nic_number, :notes, :phone, :phone_extension, :postcode,
    :state, :state_description, :type, 
    :warehouse, :warehouse_code, :warehouse_description
  ]
end