Class: BitlyOAuth::MissingUrl

Inherits:
Object
  • Object
show all
Defined in:
lib/bitly_oauth/missing_url.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ MissingUrl

Returns a new instance of MissingUrl.



5
6
7
8
9
10
# File 'lib/bitly_oauth/missing_url.rb', line 5

def initialize(options={})
  @error     = options['error']
  @long_url  = options['long_url']
  @short_url = options['short_url']
  @user_hash = options['hash']
end

Instance Attribute Details

#errorObject

Returns the value of attribute error.



3
4
5
# File 'lib/bitly_oauth/missing_url.rb', line 3

def error
  @error
end

#long_urlObject

Returns the value of attribute long_url.



3
4
5
# File 'lib/bitly_oauth/missing_url.rb', line 3

def long_url
  @long_url
end

#short_urlObject

Returns the value of attribute short_url.



3
4
5
# File 'lib/bitly_oauth/missing_url.rb', line 3

def short_url
  @short_url
end

#user_hashObject

Returns the value of attribute user_hash.



3
4
5
# File 'lib/bitly_oauth/missing_url.rb', line 3

def user_hash
  @user_hash
end