Class: TCR::Configuration
- Inherits:
-
Object
- Object
- TCR::Configuration
- Defined in:
- lib/tcr/configuration.rb
Instance Attribute Summary collapse
-
#block_for_reads ⇒ Object
Returns the value of attribute block_for_reads.
-
#cassette_library_dir ⇒ Object
Returns the value of attribute cassette_library_dir.
-
#format ⇒ Object
Returns the value of attribute format.
-
#hit_all ⇒ Object
Returns the value of attribute hit_all.
-
#hook_tcp_ports ⇒ Object
Returns the value of attribute hook_tcp_ports.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset_defaults! ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/tcr/configuration.rb', line 7 def initialize reset_defaults! end |
Instance Attribute Details
#block_for_reads ⇒ Object
Returns the value of attribute block_for_reads.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def block_for_reads @block_for_reads end |
#cassette_library_dir ⇒ Object
Returns the value of attribute cassette_library_dir.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def cassette_library_dir @cassette_library_dir end |
#format ⇒ Object
Returns the value of attribute format.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def format @format end |
#hit_all ⇒ Object
Returns the value of attribute hit_all.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def hit_all @hit_all end |
#hook_tcp_ports ⇒ Object
Returns the value of attribute hook_tcp_ports.
5 6 7 |
# File 'lib/tcr/configuration.rb', line 5 def hook_tcp_ports @hook_tcp_ports end |
Instance Method Details
#reset_defaults! ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/tcr/configuration.rb', line 11 def reset_defaults! @cassette_library_dir = 'fixtures/tcr_cassettes' @hook_tcp_ports = [] @block_for_reads = false @format = 'json' @hit_all = false end |