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