Exception: Flapjack::Gateways::JSONAPI::EntityNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/flapjack/gateways/jsonapi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#entityObject (readonly)

Returns the value of attribute entity.



71
72
73
# File 'lib/flapjack/gateways/jsonapi.rb', line 71

def entity
  @entity
end