Exception: LinkedIn::Errors::LinkedInError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ LinkedInError

Returns a new instance of LinkedInError.



5
6
7
8
# File 'lib/linked_in/errors.rb', line 5

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/linked_in/errors.rb', line 4

def data
  @data
end