Class: Killbill::Plugin::ActiveMerchant::RSpec::FakeOSGIKillbillClock
- Defined in:
- lib/killbill/helpers/active_merchant/killbill_spec_helper.rb
Instance Attribute Summary collapse
-
#clock ⇒ Object
Returns the value of attribute clock.
Instance Method Summary collapse
- #get_clock ⇒ Object
-
#initialize(clock = FakeClock.new) ⇒ FakeOSGIKillbillClock
constructor
A new instance of FakeOSGIKillbillClock.
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
#clock ⇒ Object
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_clock ⇒ Object
193 194 195 |
# File 'lib/killbill/helpers/active_merchant/killbill_spec_helper.rb', line 193 def get_clock @clock end |