Class: BookingstudioRuby::WebService::Currency

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

Overview

/Currency

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Currency.



33
34
35
36
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 33

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

Instance Attribute Details

#idObject

Returns the value of attribute id.



30
31
32
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 30

def id
  @id
end

#nameObject

Returns the value of attribute name.



31
32
33
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 31

def name
  @name
end