Class: ErpIntegration::SalesReturnReason

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

Overview

The ‘ErpIntegration::SalesReturnReason` exposes an uniformed API for interaction with third-party ERP vendors.

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.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def attachments
  @attachments
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def create_date
  @create_date
end

#create_uidObject

Returns the value of attribute create_uid.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def create_uid
  @create_uid
end

#descriptionObject

Returns the value of attribute description.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def description
  @description
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def id
  @id
end

#messagesObject

Returns the value of attribute messages.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def name
  @name
end

#private_notesObject

Returns the value of attribute private_notes.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def private_notes
  @private_notes
end

#public_notesObject

Returns the value of attribute public_notes.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def public_notes
  @public_notes
end

#rec_blurbObject

Returns the value of attribute rec_blurb.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def rec_blurb
  @rec_blurb
end

#rec_nameObject

Returns the value of attribute rec_name.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def rec_name
  @rec_name
end

#write_dateObject

Returns the value of attribute write_date.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def write_date
  @write_date
end

#write_uidObject

Returns the value of attribute write_uid.



7
8
9
# File 'lib/erp_integration/sales_return_reason.rb', line 7

def write_uid
  @write_uid
end