Class: Quickeebooks::Windows::Model::SyncStatusRequest

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

Constant Summary collapse

DEFAULT_OFFERING_ID =
'ipp'
REST_RESOURCE =
"status"

Instance Method Summary collapse

Methods included from Logging

#log

Constructor Details

#initialize(id = nil, type = nil) ⇒ SyncStatusRequest

Returns a new instance of SyncStatusRequest.



19
20
21
22
23
24
25
26
# File 'lib/quickeebooks/windows/model/sync_status_request.rb', line 19

def initialize(id = nil, type = nil)
  self.offering_id = DEFAULT_OFFERING_ID

  if id && type
    self.sync_status_param = Quickeebooks::Windows::Model::SyncStatusParam.new(id)
    self.sync_status_param.object_type = type
  end
end