Class: Quickeebooks::Online::Model::WebSite

Inherits:
IntuitType
  • Object
show all
Defined in:
lib/quickeebooks/online/model/web_site.rb

Instance Method Summary collapse

Methods inherited from IntuitType

resource_for_collection, resource_for_singular

Methods included from Logging

#log

Constructor Details

#initialize(uri = nil) ⇒ WebSite

Returns a new instance of WebSite.



9
10
11
# File 'lib/quickeebooks/online/model/web_site.rb', line 9

def initialize(uri = nil)
  self.uri = uri if uri
end

Instance Method Details

#to_xml(options = {}) ⇒ Object



13
14
15
16
# File 'lib/quickeebooks/online/model/web_site.rb', line 13

def to_xml(options = {})
  return "" if uri.to_s.empty?
  super(options)
end