Exception: LinkedIn::LinkedInError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/linkedin.rb

Direct Known Subclasses

BadRequest, Forbidden, NotFound, Unauthorized

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ LinkedInError

Returns a new instance of LinkedInError.



10
11
12
13
# File 'lib/linkedin.rb', line 10

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



8
9
10
# File 'lib/linkedin.rb', line 8

def data
  @data
end