Class: BookingstudioRuby::WebService::MandatoryItem
- Inherits:
-
Object
- Object
- BookingstudioRuby::WebService::MandatoryItem
- Defined in:
- lib/bookingstudio_ruby/web_service/search_service.rb,
lib/bookingstudio_ruby/web_service/booking_service.rb
Overview
/MandatoryItem
id - SOAP::SOAPInt
name - SOAP::SOAPString
price - SOAP::SOAPDecimal
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#price ⇒ Object
Returns the value of attribute price.
Instance Method Summary collapse
-
#initialize(id = nil, name = nil, price = nil) ⇒ MandatoryItem
constructor
A new instance of MandatoryItem.
Constructor Details
#initialize(id = nil, name = nil, price = nil) ⇒ MandatoryItem
Returns a new instance of MandatoryItem.
656 657 658 659 660 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 656 def initialize(id = nil, name = nil, price = nil) @id = id @name = name @price = price end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
652 653 654 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 652 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
653 654 655 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 653 def name @name end |
#price ⇒ Object
Returns the value of attribute price.
654 655 656 |
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 654 def price @price end |