Class: Ocs::Request
- Inherits:
-
Object
- Object
- Ocs::Request
- Defined in:
- lib/ocs/request.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name:, options: {}, client:) ⇒ Request
constructor
A new instance of Request.
- #send ⇒ Object
Constructor Details
#initialize(name:, options: {}, client:) ⇒ Request
Returns a new instance of Request.
5 6 7 8 9 |
# File 'lib/ocs/request.rb', line 5 def initialize(name:, options: {}, client:) @name = name @options = @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
3 4 5 |
# File 'lib/ocs/request.rb', line 3 def client @client end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/ocs/request.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/ocs/request.rb', line 3 def @options end |