Class: Upkeep::Runtime::ObservedRequest
- Inherits:
-
Object
- Object
- Upkeep::Runtime::ObservedRequest
- Defined in:
- lib/upkeep/runtime.rb
Instance Method Summary collapse
- #[](key) ⇒ Object
- #fullpath ⇒ Object
- #host ⇒ Object
-
#initialize(values) ⇒ ObservedRequest
constructor
A new instance of ObservedRequest.
- #params ⇒ Object
- #path ⇒ Object
- #remote_ip ⇒ Object
- #request_method ⇒ Object
- #subdomain ⇒ Object
- #user_agent ⇒ Object
Constructor Details
#initialize(values) ⇒ ObservedRequest
Returns a new instance of ObservedRequest.
617 618 619 |
# File 'lib/upkeep/runtime.rb', line 617 def initialize(values) @values = values || {} end |
Instance Method Details
#[](key) ⇒ Object
637 638 639 |
# File 'lib/upkeep/runtime.rb', line 637 def [](key) read(key) end |
#fullpath ⇒ Object
627 |
# File 'lib/upkeep/runtime.rb', line 627 def fullpath = read(:fullpath) |
#host ⇒ Object
621 |
# File 'lib/upkeep/runtime.rb', line 621 def host = read(:host) |
#params ⇒ Object
635 |
# File 'lib/upkeep/runtime.rb', line 635 def params = read(:params) |
#path ⇒ Object
625 |
# File 'lib/upkeep/runtime.rb', line 625 def path = read(:path) |
#remote_ip ⇒ Object
633 |
# File 'lib/upkeep/runtime.rb', line 633 def remote_ip = read(:remote_ip) |
#request_method ⇒ Object
629 |
# File 'lib/upkeep/runtime.rb', line 629 def request_method = read(:request_method) |
#subdomain ⇒ Object
623 |
# File 'lib/upkeep/runtime.rb', line 623 def subdomain = read(:subdomain) |
#user_agent ⇒ Object
631 |
# File 'lib/upkeep/runtime.rb', line 631 def user_agent = read(:user_agent) |