Class: MediaTypes::FixtureData
- Inherits:
-
Object
- Object
- MediaTypes::FixtureData
- Defined in:
- lib/media_types/scheme.rb
Instance Attribute Summary collapse
-
#caller ⇒ Object
Returns the value of attribute caller.
-
#expect_to_pass ⇒ Object
(also: #expect_to_pass?)
Returns the value of attribute expect_to_pass.
-
#fixture ⇒ Object
Returns the value of attribute fixture.
-
#loose ⇒ Object
Returns the value of attribute loose.
Instance Method Summary collapse
-
#initialize(caller:, fixture:, expect_to_pass:, loose:) ⇒ FixtureData
constructor
A new instance of FixtureData.
Constructor Details
#initialize(caller:, fixture:, expect_to_pass:, loose:) ⇒ FixtureData
Returns a new instance of FixtureData.
54 55 56 57 58 59 |
# File 'lib/media_types/scheme.rb', line 54 def initialize(caller:, fixture:, expect_to_pass:, loose:) self.caller = caller self.fixture = fixture self.expect_to_pass = expect_to_pass self.loose = loose end |
Instance Attribute Details
#caller ⇒ Object
Returns the value of attribute caller.
61 62 63 |
# File 'lib/media_types/scheme.rb', line 61 def caller @caller end |
#expect_to_pass ⇒ Object Also known as: expect_to_pass?
Returns the value of attribute expect_to_pass.
61 62 63 |
# File 'lib/media_types/scheme.rb', line 61 def expect_to_pass @expect_to_pass end |
#fixture ⇒ Object
Returns the value of attribute fixture.
61 62 63 |
# File 'lib/media_types/scheme.rb', line 61 def fixture @fixture end |
#loose ⇒ Object
Returns the value of attribute loose.
61 62 63 |
# File 'lib/media_types/scheme.rb', line 61 def loose @loose end |