Class: Quickeebooks::Online::Model::Id
- Inherits:
-
IntuitType
- Object
- IntuitType
- Quickeebooks::Online::Model::Id
- Defined in:
- lib/quickeebooks/online/model/id.rb
Constant Summary collapse
- DOMAIN =
"QBO"
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ Id
constructor
A new instance of Id.
- #to_i ⇒ Object
- #to_s ⇒ Object
Methods inherited from IntuitType
resource_for_collection, resource_for_singular
Methods included from Logging
Constructor Details
#initialize(value = nil) ⇒ Id
Returns a new instance of Id.
15 16 17 |
# File 'lib/quickeebooks/online/model/id.rb', line 15 def initialize(value = nil) self.value = value end |
Instance Method Details
#to_i ⇒ Object
19 20 21 |
# File 'lib/quickeebooks/online/model/id.rb', line 19 def to_i self.value.to_i end |
#to_s ⇒ Object
23 24 25 |
# File 'lib/quickeebooks/online/model/id.rb', line 23 def to_s self.value.to_s end |