Class: Rspec::RequestSnapshot::Handlers::Base
- Inherits:
-
Object
- Object
- Rspec::RequestSnapshot::Handlers::Base
- Defined in:
- lib/rspec/request_snapshot/handlers/base.rb
Instance Method Summary collapse
- #dynamic_attributes ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
3 4 5 |
# File 'lib/rspec/request_snapshot/handlers/base.rb', line 3 def initialize( = {}) = end |
Instance Method Details
#dynamic_attributes ⇒ Object
7 8 9 10 |
# File 'lib/rspec/request_snapshot/handlers/base.rb', line 7 def dynamic_attributes @dynamic_attributes ||= RSpec.configuration.request_snapshots_dynamic_attributes | Array([:dynamic_attributes]) end |