Class: BookingstudioRuby::WebService::LodgingType

Inherits:
Object
  • Object
show all
Defined in:
lib/bookingstudio_ruby/web_service/search_service.rb

Overview

/LodgingType

id - SOAP::SOAPInt
internalName - SOAP::SOAPString
name - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, internalName = nil, name = nil) ⇒ LodgingType

Returns a new instance of LodgingType.



140
141
142
143
144
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 140

def initialize(id = nil, internalName = nil, name = nil)
  @id = id
  @internalName = internalName
  @name = name
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



136
137
138
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 136

def id
  @id
end

#internalNameObject

Returns the value of attribute internalName.



137
138
139
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 137

def internalName
  @internalName
end

#nameObject

Returns the value of attribute name.



138
139
140
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 138

def name
  @name
end