Class: Quickeebooks::Windows::Model::Id
- Inherits:
-
IntuitType
- Object
- IntuitType
- Quickeebooks::Windows::Model::Id
- Defined in:
- lib/quickeebooks/windows/model/id.rb
Constant Summary collapse
- DOMAIN =
"QB"
Instance Method Summary collapse
-
#initialize(value = nil, suppress_domain_attribute = false) ⇒ Id
constructor
A new instance of Id.
- #to_i ⇒ Object
- #to_s ⇒ Object
Methods included from Logging
Constructor Details
#initialize(value = nil, suppress_domain_attribute = false) ⇒ Id
Returns a new instance of Id.
14 15 16 17 18 19 |
# File 'lib/quickeebooks/windows/model/id.rb', line 14 def initialize(value = nil, suppress_domain_attribute = false) unless suppress_domain_attribute self.idDomain = DOMAIN end self.value = value end |
Instance Method Details
#to_i ⇒ Object
21 22 23 |
# File 'lib/quickeebooks/windows/model/id.rb', line 21 def to_i self.value.to_i end |
#to_s ⇒ Object
25 26 27 |
# File 'lib/quickeebooks/windows/model/id.rb', line 25 def to_s self.value.to_s end |