Class: ErpIntegration::Country

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/country.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#raw_api_response

Method Summary

Methods inherited from Resource

adapter, adapter_klass, adapter_path, adapter_type, #assign_attributes, #initialize, #method_missing, resource_name, respond_to_missing?

Methods included from Resources::Persistence

#destroy, included, #persisted?, #update

Methods included from Resources::Validations

#errors, #valid?, #validate_with

Constructor Details

This class inherits a constructor from ErpIntegration::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ErpIntegration::Resource

Instance Attribute Details

#attachmentsObject

Returns the value of attribute attachments.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def attachments
  @attachments
end

#codeObject

Returns the value of attribute code.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def code
  @code
end

#code3Object

Returns the value of attribute code3.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def code3
  @code3
end

#code_numericObject

Returns the value of attribute code_numeric.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def code_numeric
  @code_numeric
end

#create_dateObject

Returns the value of attribute create_date.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def create_uid
  @create_uid
end

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def id
  @id
end

#metadataObject

Returns the value of attribute metadata.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def name
  @name
end

#subdivisionsObject

Returns the value of attribute subdivisions.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def subdivisions
  @subdivisions
end

#write_dateObject

Returns the value of attribute write_date.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



5
6
7
# File 'lib/erp_integration/country.rb', line 5

def write_uid
  @write_uid
end