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