Class: BoletoSimples::LastRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/boletosimples/last_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



5
6
7
# File 'lib/boletosimples/last_request.rb', line 5

def body
  @body
end

Returns the value of attribute links.



5
6
7
# File 'lib/boletosimples/last_request.rb', line 5

def links
  @links
end

#ratelimit_limitObject (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_remainingObject (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_headersObject (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_headersObject (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

#totalObject (readonly)

Returns the value of attribute total.



5
6
7
# File 'lib/boletosimples/last_request.rb', line 5

def total
  @total
end