Class: SecureNative::RequestOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/securenative/request_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



5
6
7
# File 'lib/securenative/request_options.rb', line 5

def body
  @body
end

#retry_sendingObject

Returns the value of attribute retry_sending.



5
6
7
# File 'lib/securenative/request_options.rb', line 5

def retry_sending
  @retry_sending
end

#urlObject

Returns the value of attribute url.



5
6
7
# File 'lib/securenative/request_options.rb', line 5

def url
  @url
end