Class: Killbill::Plugin::ActiveMerchant::RSpec::FakeOSGIKillbillClock

Inherits:
Object
  • Object
show all
Defined in:
lib/killbill/helpers/active_merchant/killbill_spec_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clock = FakeClock.new) ⇒ FakeOSGIKillbillClock

Returns a new instance of FakeOSGIKillbillClock.



189
190
191
# File 'lib/killbill/helpers/active_merchant/killbill_spec_helper.rb', line 189

def initialize(clock = FakeClock.new)
  @clock = clock
end

Instance Attribute Details

#clockObject

Returns the value of attribute clock.



187
188
189
# File 'lib/killbill/helpers/active_merchant/killbill_spec_helper.rb', line 187

def clock
  @clock
end

Instance Method Details

#get_clockObject



193
194
195
# File 'lib/killbill/helpers/active_merchant/killbill_spec_helper.rb', line 193

def get_clock
  @clock
end