Class: Request
- Inherits:
-
Object
- Object
- Request
- Defined in:
- lib/smartystreets_ruby_sdk/request.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#referer ⇒ Object
Returns the value of attribute referer.
-
#url_prefix ⇒ Object
Returns the value of attribute url_prefix.
Instance Method Summary collapse
-
#initialize ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize ⇒ Request
Returns a new instance of Request.
4 5 6 7 8 9 10 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 4 def initialize @parameters = {} @payload = nil @url_prefix = nil @referer = nil @headers = {} end |
Instance Attribute Details
#headers ⇒ Object
Returns the value of attribute headers.
2 3 4 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 2 def headers @headers end |
#parameters ⇒ Object
Returns the value of attribute parameters.
2 3 4 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 2 def parameters @parameters end |
#payload ⇒ Object
Returns the value of attribute payload.
2 3 4 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 2 def payload @payload end |
#referer ⇒ Object
Returns the value of attribute referer.
2 3 4 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 2 def referer @referer end |
#url_prefix ⇒ Object
Returns the value of attribute url_prefix.
2 3 4 |
# File 'lib/smartystreets_ruby_sdk/request.rb', line 2 def url_prefix @url_prefix end |