Class: Ecfr::RequestRepresentation
- Inherits:
-
Object
- Object
- Ecfr::RequestRepresentation
- Defined in:
- lib/ecfr/request_representation.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(path:, args:, options: {}) ⇒ RequestRepresentation
constructor
A new instance of RequestRepresentation.
Constructor Details
#initialize(path:, args:, options: {}) ⇒ RequestRepresentation
Returns a new instance of RequestRepresentation.
6 7 8 9 10 |
# File 'lib/ecfr/request_representation.rb', line 6 def initialize(path:, args:, options: {}) @args = args @options = @path = path end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
3 4 5 |
# File 'lib/ecfr/request_representation.rb', line 3 def args @args end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/ecfr/request_representation.rb', line 3 def @options end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
3 4 5 |
# File 'lib/ecfr/request_representation.rb', line 3 def path @path end |
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/ecfr/request_representation.rb', line 4 def response @response end |