Class: Protobuf::RSpec::Helpers::ClientMock

Inherits:
Struct
  • Object
show all
Defined in:
lib/protobuf/rspec/helpers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



15
16
17
# File 'lib/protobuf/rspec/helpers.rb', line 15

def error
  @error
end

#requestObject

Returns the value of attribute request

Returns:

  • (Object)

    the current value of request



15
16
17
# File 'lib/protobuf/rspec/helpers.rb', line 15

def request
  @request
end

#responseObject

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



15
16
17
# File 'lib/protobuf/rspec/helpers.rb', line 15

def response
  @response
end