Class: Dolibarr::Thirdparty
Overview
A thirdparty (customer or supplier). Every field stays reachable via Record#raw / Record#[]; the common ones get named readers.
Instance Attribute Summary
Attributes inherited from Record
Instance Method Summary collapse
-
#name ⇒ String?
The company / thirdparty name.
-
#ref ⇒ String?
The thirdparty reference, when set.
Methods inherited from Record
#==, #[], from, #hash, #id, #initialize, #to_h
Constructor Details
This class inherits a constructor from Dolibarr::Record
Instance Method Details
#name ⇒ String?
Returns the company / thirdparty name.
8 9 10 |
# File 'lib/dolibarr/thirdparty.rb', line 8 def name self['name'] end |
#ref ⇒ String?
Returns the thirdparty reference, when set.
13 14 15 |
# File 'lib/dolibarr/thirdparty.rb', line 13 def ref self['ref'] end |