Class: MediaTypes::FixtureData

Inherits:
Object
  • Object
show all
Defined in:
lib/media_types/scheme.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#callerObject

Returns the value of attribute caller.



61
62
63
# File 'lib/media_types/scheme.rb', line 61

def caller
  @caller
end

#expect_to_passObject 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

#fixtureObject

Returns the value of attribute fixture.



61
62
63
# File 'lib/media_types/scheme.rb', line 61

def fixture
  @fixture
end

#looseObject

Returns the value of attribute loose.



61
62
63
# File 'lib/media_types/scheme.rb', line 61

def loose
  @loose
end