Class: VCRAssistant::Assistant
- Inherits:
-
Object
- Object
- VCRAssistant::Assistant
- Defined in:
- lib/vcr_assistant/assistant.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#vcr_cassette ⇒ Object
readonly
Returns the value of attribute vcr_cassette.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label, vcr_cassette) ⇒ Assistant
constructor
A new instance of Assistant.
Constructor Details
#initialize(label, vcr_cassette) ⇒ Assistant
Returns a new instance of Assistant.
8 9 10 |
# File 'lib/vcr_assistant/assistant.rb', line 8 def initialize(label, vcr_cassette) @label, @vcr_cassette = label, vcr_cassette end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
2 3 4 |
# File 'lib/vcr_assistant/assistant.rb', line 2 def label @label end |
#vcr_cassette ⇒ Object (readonly)
Returns the value of attribute vcr_cassette.
2 3 4 |
# File 'lib/vcr_assistant/assistant.rb', line 2 def vcr_cassette @vcr_cassette end |
Class Method Details
.call(label, vcr_cassette) ⇒ Object
4 5 6 |
# File 'lib/vcr_assistant/assistant.rb', line 4 def self.call(label, vcr_cassette) new label, vcr_cassette end |