Class: BookingstudioRuby::WebService::Language

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

Overview

/Language

id - SOAP::SOAPString
name - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, name = nil) ⇒ Language

Returns a new instance of Language.



16
17
18
19
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 16

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

Instance Attribute Details

#idObject

Returns the value of attribute id.



13
14
15
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 13

def id
  @id
end

#nameObject

Returns the value of attribute name.



14
15
16
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 14

def name
  @name
end