Class: Bitly::V3::MissingUrl
- Inherits:
-
Object
- Object
- Bitly::V3::MissingUrl
- Defined in:
- lib/bitly/v3/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(opts = {}) ⇒ MissingUrl
constructor
A new instance of MissingUrl.
Constructor Details
#initialize(opts = {}) ⇒ MissingUrl
Returns a new instance of MissingUrl.
5 6 7 8 9 10 11 12 |
# File 'lib/bitly/v3/missing_url.rb', line 5 def initialize(opts={}) if opts @short_url = opts['short_url'] @user_hash = opts['hash'] @long_url = opts['long_url'] @error = opts['error'] end end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
4 5 6 |
# File 'lib/bitly/v3/missing_url.rb', line 4 def error @error end |
#long_url ⇒ Object
Returns the value of attribute long_url.
4 5 6 |
# File 'lib/bitly/v3/missing_url.rb', line 4 def long_url @long_url end |
#short_url ⇒ Object
Returns the value of attribute short_url.
4 5 6 |
# File 'lib/bitly/v3/missing_url.rb', line 4 def short_url @short_url end |
#user_hash ⇒ Object
Returns the value of attribute user_hash.
4 5 6 |
# File 'lib/bitly/v3/missing_url.rb', line 4 def user_hash @user_hash end |