Class: ErpIntegration::PartyAddress

Inherits:
Resource
  • Object
show all
Defined in:
lib/erp_integration/party_address.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

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end