Exception: Flapjack::Gateways::JSONAPI::EntityNotFound
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Flapjack::Gateways::JSONAPI::EntityNotFound
- Defined in:
- lib/flapjack/gateways/jsonapi.rb
Instance Attribute Summary collapse
-
#entity ⇒ Object
readonly
Returns the value of attribute entity.
Instance Method Summary collapse
-
#initialize(entity) ⇒ EntityNotFound
constructor
A new instance of EntityNotFound.
Constructor Details
#initialize(entity) ⇒ EntityNotFound
Returns a new instance of EntityNotFound.
72 73 74 |
# File 'lib/flapjack/gateways/jsonapi.rb', line 72 def initialize(entity) @entity = entity end |
Instance Attribute Details
#entity ⇒ Object (readonly)
Returns the value of attribute entity.
71 72 73 |
# File 'lib/flapjack/gateways/jsonapi.rb', line 71 def entity @entity end |