Class: BookingstudioRuby::WebService::Currency
- Inherits:
-
Object
- Object
- BookingstudioRuby::WebService::Currency
- Defined in:
- lib/bookingstudio_ruby/web_service/search_service.rb
Overview
/Currency
id - SOAP::SOAPString
name - SOAP::SOAPString
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ Currency
constructor
A new instance of Currency.
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
#id ⇒ Object
Returns the value of attribute id.
30 31 32 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 30 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
31 32 33 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 31 def name @name end |