Class: Yrpc::Interceptors::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/yrpc/interceptors/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request, error, options = {}) ⇒ Base



11
12
13
14
15
# File 'lib/yrpc/interceptors/base.rb', line 11

def initialize(request, error, options = {})
  @request = request
  @error = error
  @options = options || {}
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



7
8
9
# File 'lib/yrpc/interceptors/base.rb', line 7

def error
  @error
end

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/yrpc/interceptors/base.rb', line 9

def options
  @options
end

#requestObject (readonly)

Returns the value of attribute request.



5
6
7
# File 'lib/yrpc/interceptors/base.rb', line 5

def request
  @request
end