Exception: PactBroker::Client::Hal::ErrorResponseReturned

Inherits:
Error
  • Object
show all
Defined in:
lib/pact_broker/client/hal/entity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, entity) ⇒ ErrorResponseReturned

Returns a new instance of ErrorResponseReturned.



15
16
17
18
# File 'lib/pact_broker/client/hal/entity.rb', line 15

def initialize(message, entity)
  super(message)
  @entity = entity
end

Instance Attribute Details

#entityObject (readonly)

Returns the value of attribute entity.



13
14
15
# File 'lib/pact_broker/client/hal/entity.rb', line 13

def entity
  @entity
end