Class: Quickeebooks::Windows::Model::IdSet

Inherits:
IntuitType
  • Object
show all
Defined in:
lib/quickeebooks/windows/model/id_set.rb

Instance Method Summary collapse

Methods included from Logging

#log

Constructor Details

#initialize(value = nil) ⇒ IdSet

Returns a new instance of IdSet.



9
10
11
# File 'lib/quickeebooks/windows/model/id_set.rb', line 9

def initialize(value = nil)
  self.id = Quickeebooks::Windows::Model::Id.new(value, true)
end

Instance Method Details

#to_iObject



13
14
15
# File 'lib/quickeebooks/windows/model/id_set.rb', line 13

def to_i
  id ? id.to_i : "__uninitialized__"
end

#to_sObject



17
18
19
# File 'lib/quickeebooks/windows/model/id_set.rb', line 17

def to_s
  id ? id.to_s : "__uninitialized__"
end