Exception: LinkedIn::CSRF
- Defined in:
- lib/linkedin/errors.rb
Instance Method Summary collapse
-
#initialize(expected = nil, received = nil) ⇒ CSRF
constructor
A new instance of CSRF.
Constructor Details
#initialize(expected = nil, received = nil) ⇒ CSRF
Returns a new instance of CSRF.
40 41 42 43 |
# File 'lib/linkedin/errors.rb', line 40 def initialize(expected = nil, received = nil) additional = "Excepted '#{expected}' but received '#{received}'" if expected super "Response state did not match sent state. #{additional}." end |