Class: TrafficChannelizer::LandingPage
- Inherits:
-
Object
- Object
- TrafficChannelizer::LandingPage
- Defined in:
- lib/traffic_channelizer/landing_page.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
- #domain ⇒ Object
-
#initialize(url) ⇒ LandingPage
constructor
A new instance of LandingPage.
Constructor Details
#initialize(url) ⇒ LandingPage
7 8 9 |
# File 'lib/traffic_channelizer/landing_page.rb', line 7 def initialize(url) @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
5 6 7 |
# File 'lib/traffic_channelizer/landing_page.rb', line 5 def url @url end |
Instance Method Details
#domain ⇒ Object
17 18 19 |
# File 'lib/traffic_channelizer/landing_page.rb', line 17 def domain domain_without_www end |