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.
551 552 553 |
# File 'lib/upkeep/runtime.rb', line 551 def initialize(values) @values = values || {} end |
Instance Method Details
#[](key) ⇒ Object
571 572 573 |
# File 'lib/upkeep/runtime.rb', line 571 def [](key) read(key) end |
#fullpath ⇒ Object
561 |
# File 'lib/upkeep/runtime.rb', line 561 def fullpath = read(:fullpath) |
#host ⇒ Object
555 |
# File 'lib/upkeep/runtime.rb', line 555 def host = read(:host) |
#params ⇒ Object
569 |
# File 'lib/upkeep/runtime.rb', line 569 def params = read(:params) |
#path ⇒ Object
559 |
# File 'lib/upkeep/runtime.rb', line 559 def path = read(:path) |
#remote_ip ⇒ Object
567 |
# File 'lib/upkeep/runtime.rb', line 567 def remote_ip = read(:remote_ip) |
#request_method ⇒ Object
563 |
# File 'lib/upkeep/runtime.rb', line 563 def request_method = read(:request_method) |
#subdomain ⇒ Object
557 |
# File 'lib/upkeep/runtime.rb', line 557 def subdomain = read(:subdomain) |
#user_agent ⇒ Object
565 |
# File 'lib/upkeep/runtime.rb', line 565 def user_agent = read(:user_agent) |