Module: FakeStripe::Configuration

Included in:
FakeStripe
Defined in:
lib/fake_stripe/configuration.rb

Constant Summary collapse

DEFAULT_FIXTURE_PATH =
File.join(File.dirname(__FILE__), 'fixtures/')

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fixture_pathObject



7
8
9
# File 'lib/fake_stripe/configuration.rb', line 7

def fixture_path
  @fixture_path or DEFAULT_FIXTURE_PATH
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



11
12
13
# File 'lib/fake_stripe/configuration.rb', line 11

def configure
  yield self
end