Class: ErpIntegration::BillOfMaterial

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

Overview

The ‘ErpIntegration::BillOfMaterial` 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

#activeObject

Returns the value of attribute active.



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

def active
  @active
end

#attachmentsObject

Returns the value of attribute attachments.



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

def attachments
  @attachments
end

#costObject

Returns the value of attribute cost.



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

def cost
  @cost
end

#create_dateObject

Returns the value of attribute create_date.



7
8
9
# File 'lib/erp_integration/bill_of_material.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/bill_of_material.rb', line 7

def create_uid
  @create_uid
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#inputsObject

Returns the value of attribute inputs.



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

def inputs
  @inputs
end

#instructionsObject

Returns the value of attribute instructions.



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

def instructions
  @instructions
end

#is_built_on_the_flyObject

Returns the value of attribute is_built_on_the_fly.



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

def is_built_on_the_fly
  @is_built_on_the_fly
end

#locationObject

Returns the value of attribute location.



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

def location
  @location
end

#messagesObject

Returns the value of attribute messages.



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

def messages
  @messages
end

#metadataObject

Returns the value of attribute metadata.



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

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#output_productsObject

Returns the value of attribute output_products.



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

def output_products
  @output_products
end

#outputsObject

Returns the value of attribute outputs.



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

def outputs
  @outputs
end

#private_notesObject

Returns the value of attribute private_notes.



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

def private_notes
  @private_notes
end

#productsObject

Returns the value of attribute products.



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

def products
  @products
end

#public_notesObject

Returns the value of attribute public_notes.



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

def public_notes
  @public_notes
end

#quantity_buildableObject

Returns the value of attribute quantity_buildable.



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

def quantity_buildable
  @quantity_buildable
end

#quantity_expectedObject

Returns the value of attribute quantity_expected.



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

def quantity_expected
  @quantity_expected
end

#rec_blurbObject

Returns the value of attribute rec_blurb.



7
8
9
# File 'lib/erp_integration/bill_of_material.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/bill_of_material.rb', line 7

def rec_name
  @rec_name
end

#routingObject

Returns the value of attribute routing.



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

def routing
  @routing
end

#stateObject

Returns the value of attribute state.



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

def state
  @state
end

#supervisorObject

Returns the value of attribute supervisor.



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

def supervisor
  @supervisor
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

#warehouseObject

Returns the value of attribute warehouse.



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

def warehouse
  @warehouse
end

#work_centerObject

Returns the value of attribute work_center.



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

def work_center
  @work_center
end

#write_dateObject

Returns the value of attribute write_date.



7
8
9
# File 'lib/erp_integration/bill_of_material.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/bill_of_material.rb', line 7

def write_uid
  @write_uid
end