Class: Bitlyr::RealtimeLink
- Inherits:
-
Object
- Object
- Bitlyr::RealtimeLink
- Defined in:
- lib/bitlyr/realtime_link.rb
Overview
Day objects are created by the realtime_links method of a user
Instance Attribute Summary collapse
-
#clicks ⇒ Object
readonly
Returns the value of attribute clicks.
-
#user_hash ⇒ Object
readonly
Returns the value of attribute user_hash.
Instance Method Summary collapse
-
#create_url(client) ⇒ Object
A convenience method to create a Bitlyr::Url from the data.
-
#initialize(options = {}) ⇒ RealtimeLink
constructor
A new instance of RealtimeLink.
Constructor Details
#initialize(options = {}) ⇒ RealtimeLink
Returns a new instance of RealtimeLink.
6 7 8 9 |
# File 'lib/bitlyr/realtime_link.rb', line 6 def initialize( = {}) @clicks = ['clicks'] @user_hash = ['user_hash'] end |
Instance Attribute Details
#clicks ⇒ Object (readonly)
Returns the value of attribute clicks.
4 5 6 |
# File 'lib/bitlyr/realtime_link.rb', line 4 def clicks @clicks end |
#user_hash ⇒ Object (readonly)
Returns the value of attribute user_hash.
4 5 6 |
# File 'lib/bitlyr/realtime_link.rb', line 4 def user_hash @user_hash end |