Class: Rapa::Url
- Inherits:
-
Object
- Object
- Rapa::Url
- Defined in:
- lib/rapa/url.rb
Instance Method Summary collapse
-
#initialize(domain:) ⇒ Url
constructor
A new instance of Url.
- #to_s ⇒ Object
Constructor Details
#initialize(domain:) ⇒ Url
Returns a new instance of Url.
4 5 6 |
# File 'lib/rapa/url.rb', line 4 def initialize(domain:) @domain = domain end |
Instance Method Details
#to_s ⇒ Object
Note:
Override
9 10 11 |
# File 'lib/rapa/url.rb', line 9 def to_s "http://webservices.amazon.#{domain}/onca/xml" end |