Class: SecureNative::RequestOptions
- Inherits:
-
Object
- Object
- SecureNative::RequestOptions
- Defined in:
- lib/securenative/request_options.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#retry_sending ⇒ Object
Returns the value of attribute retry_sending.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url, body, retry_sending) ⇒ RequestOptions
constructor
A new instance of RequestOptions.
Constructor Details
#initialize(url, body, retry_sending) ⇒ RequestOptions
Returns a new instance of RequestOptions.
8 9 10 11 12 |
# File 'lib/securenative/request_options.rb', line 8 def initialize(url, body, retry_sending) @url = url @body = body @retry_sending = retry_sending end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
5 6 7 |
# File 'lib/securenative/request_options.rb', line 5 def body @body end |
#retry_sending ⇒ Object
Returns the value of attribute retry_sending.
5 6 7 |
# File 'lib/securenative/request_options.rb', line 5 def retry_sending @retry_sending end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/securenative/request_options.rb', line 5 def url @url end |