Class: LiveAddress::UrlBuilder
- Inherits:
-
Object
- Object
- LiveAddress::UrlBuilder
- Defined in:
- lib/live_address/url_builder.rb
Instance Attribute Summary collapse
-
#instance ⇒ Object
Returns the value of attribute instance.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(instance) ⇒ UrlBuilder
constructor
A new instance of UrlBuilder.
Constructor Details
#initialize(instance) ⇒ UrlBuilder
Returns a new instance of UrlBuilder.
9 10 11 12 |
# File 'lib/live_address/url_builder.rb', line 9 def initialize(instance) @instance = instance @url = build_url end |
Instance Attribute Details
#instance ⇒ Object
Returns the value of attribute instance.
7 8 9 |
# File 'lib/live_address/url_builder.rb', line 7 def instance @instance end |
#url ⇒ Object
Returns the value of attribute url.
7 8 9 |
# File 'lib/live_address/url_builder.rb', line 7 def url @url end |