Class: Makuri::BrowserBuilder::Base
- Inherits:
-
Object
- Object
- Makuri::BrowserBuilder::Base
- Defined in:
- lib/makuri/browser_builder/base.rb
Instance Attribute Summary collapse
-
#request_body ⇒ Object
Returns the value of attribute request_body.
-
#request_method ⇒ Object
Returns the value of attribute request_method.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize(options) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options) ⇒ Base
Returns a new instance of Base.
5 6 7 8 9 |
# File 'lib/makuri/browser_builder/base.rb', line 5 def initialize() @user_agent = .fetch(:user_agent) @request_method = .fetch(:request_method) @request_body = .fetch(:request_body) end |
Instance Attribute Details
#request_body ⇒ Object
Returns the value of attribute request_body.
3 4 5 |
# File 'lib/makuri/browser_builder/base.rb', line 3 def request_body @request_body end |
#request_method ⇒ Object
Returns the value of attribute request_method.
3 4 5 |
# File 'lib/makuri/browser_builder/base.rb', line 3 def request_method @request_method end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
3 4 5 |
# File 'lib/makuri/browser_builder/base.rb', line 3 def user_agent @user_agent end |