Class: BoletoSimples::LastRequest
- Inherits:
-
Object
- Object
- BoletoSimples::LastRequest
- Defined in:
- lib/boletosimples/last_request.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#links ⇒ Object
readonly
Returns the value of attribute links.
-
#ratelimit_limit ⇒ Object
readonly
Returns the value of attribute ratelimit_limit.
-
#ratelimit_remaining ⇒ Object
readonly
Returns the value of attribute ratelimit_remaining.
-
#request_headers ⇒ Object
readonly
Returns the value of attribute request_headers.
-
#response_headers ⇒ Object
readonly
Returns the value of attribute response_headers.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(env) ⇒ LastRequest
constructor
A new instance of LastRequest.
Constructor Details
#initialize(env) ⇒ LastRequest
Returns a new instance of LastRequest.
7 8 9 |
# File 'lib/boletosimples/last_request.rb', line 7 def initialize(env) @env = env end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def body @body end |
#links ⇒ Object (readonly)
Returns the value of attribute links.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def links @links end |
#ratelimit_limit ⇒ Object (readonly)
Returns the value of attribute ratelimit_limit.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def ratelimit_limit @ratelimit_limit end |
#ratelimit_remaining ⇒ Object (readonly)
Returns the value of attribute ratelimit_remaining.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def ratelimit_remaining @ratelimit_remaining end |
#request_headers ⇒ Object (readonly)
Returns the value of attribute request_headers.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def request_headers @request_headers end |
#response_headers ⇒ Object (readonly)
Returns the value of attribute response_headers.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def response_headers @response_headers end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
5 6 7 |
# File 'lib/boletosimples/last_request.rb', line 5 def total @total end |