Class: BitlyOAuth::Referrer
- Inherits:
-
Object
- Object
- BitlyOAuth::Referrer
- Defined in:
- lib/bitly_oauth/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/bitly_oauth/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/bitly_oauth/referrer.rb', line 3 def clicks @clicks end |
#referrer ⇒ Object (readonly)
Returns the value of attribute referrer.
3 4 5 |
# File 'lib/bitly_oauth/referrer.rb', line 3 def referrer @referrer end |
#referrer_app ⇒ Object (readonly)
Returns the value of attribute referrer_app.
3 4 5 |
# File 'lib/bitly_oauth/referrer.rb', line 3 def referrer_app @referrer_app end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/bitly_oauth/referrer.rb', line 3 def url @url end |