Class: LicenseKit::RequestOptions
- Inherits:
-
Object
- Object
- LicenseKit::RequestOptions
- Defined in:
- lib/licensekit/types.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize(headers: nil, timeout: nil) ⇒ RequestOptions
constructor
A new instance of RequestOptions.
Constructor Details
#initialize(headers: nil, timeout: nil) ⇒ RequestOptions
Returns a new instance of RequestOptions.
14 15 16 17 |
# File 'lib/licensekit/types.rb', line 14 def initialize(headers: nil, timeout: nil) @headers = headers @timeout = timeout end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
12 13 14 |
# File 'lib/licensekit/types.rb', line 12 def headers @headers end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
12 13 14 |
# File 'lib/licensekit/types.rb', line 12 def timeout @timeout end |