Class: RSpec::Apib::Configuration
- Inherits:
-
Struct
- Object
- Struct
- RSpec::Apib::Configuration
- Defined in:
- lib/rspec/apib/configuration.rb
Instance Attribute Summary collapse
-
#dest_file ⇒ Object
Returns the value of attribute dest_file.
-
#post_docs ⇒ Object
Returns the value of attribute post_docs.
-
#pre_docs ⇒ Object
Returns the value of attribute pre_docs.
-
#record_types ⇒ Object
Returns the value of attribute record_types.
-
#request_header_blacklist ⇒ Object
Returns the value of attribute request_header_blacklist.
-
#request_param_blacklist ⇒ Object
Returns the value of attribute request_param_blacklist.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 10 11 12 13 |
# File 'lib/rspec/apib/configuration.rb', line 7 def initialize self.pre_docs = [] self.post_docs = [] self.request_header_blacklist = %w(host accept cookie) self.request_param_blacklist = %i(controller action) self.record_types = %i(request) end |
Instance Attribute Details
#dest_file ⇒ Object
Returns the value of attribute dest_file
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def dest_file @dest_file end |
#post_docs ⇒ Object
Returns the value of attribute post_docs
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def post_docs @post_docs end |
#pre_docs ⇒ Object
Returns the value of attribute pre_docs
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def pre_docs @pre_docs end |
#record_types ⇒ Object
Returns the value of attribute record_types
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def record_types @record_types end |
#request_header_blacklist ⇒ Object
Returns the value of attribute request_header_blacklist
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def request_header_blacklist @request_header_blacklist end |
#request_param_blacklist ⇒ Object
Returns the value of attribute request_param_blacklist
3 4 5 |
# File 'lib/rspec/apib/configuration.rb', line 3 def request_param_blacklist @request_param_blacklist end |