Module: Apill::Matchers::Generic
- Included in:
- AcceptHeader, Version
- Defined in:
- lib/apill/matchers/generic.rb
Instance Attribute Summary collapse
-
#accept_header ⇒ Object
Returns the value of attribute accept_header.
-
#application ⇒ Object
Returns the value of attribute application.
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
Instance Attribute Details
#accept_header ⇒ Object
Returns the value of attribute accept_header.
6 7 8 |
# File 'lib/apill/matchers/generic.rb', line 6 def accept_header @accept_header end |
#application ⇒ Object
Returns the value of attribute application.
6 7 8 |
# File 'lib/apill/matchers/generic.rb', line 6 def application @application end |
#request ⇒ Object
Returns the value of attribute request.
6 7 8 |
# File 'lib/apill/matchers/generic.rb', line 6 def request @request end |
Instance Method Details
#initialize(**args) ⇒ Object
10 11 12 13 14 |
# File 'lib/apill/matchers/generic.rb', line 10 def initialize(**args) args.each do |variable, value| __send__("#{variable}=", value) end end |