Class: Bitlyr::Referrer
- Inherits:
-
Object
- Object
- Bitlyr::Referrer
- Defined in:
- lib/bitlyr/referrer.rb
Instance Attribute Summary collapse
-
#clicks ⇒ Object
readonly
Returns the value of attribute clicks.
-
#referrer ⇒ Object
readonly
Returns the value of attribute referrer.
-
#referrer_app ⇒ Object
readonly
Returns the value of attribute referrer_app.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Referrer
constructor
A new instance of Referrer.
Constructor Details
#initialize(options = {}) ⇒ Referrer
Returns a new instance of Referrer.
5 6 7 8 9 10 |
# File 'lib/bitlyr/referrer.rb', line 5 def initialize(={}) @url = ['url'] @clicks = ['clicks'] @referrer = ['referrer'] @referrer_app = ['referrer_app'] end |
Instance Attribute Details
#clicks ⇒ Object (readonly)
Returns the value of attribute clicks.
3 4 5 |
# File 'lib/bitlyr/referrer.rb', line 3 def clicks @clicks end |
#referrer ⇒ Object (readonly)
Returns the value of attribute referrer.
3 4 5 |
# File 'lib/bitlyr/referrer.rb', line 3 def referrer @referrer end |
#referrer_app ⇒ Object (readonly)
Returns the value of attribute referrer_app.
3 4 5 |
# File 'lib/bitlyr/referrer.rb', line 3 def referrer_app @referrer_app end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/bitlyr/referrer.rb', line 3 def url @url end |