Module: ThreeScale::Backend::Period::Boundary

Extended by:
Methods
Defined in:
lib/3scale/backend/period/boundary.rb

Defined Under Namespace

Modules: Methods

Class Method Summary collapse

Methods included from Methods

day_finish, day_start, end_of, eternity_finish, eternity_start, hour_finish, hour_start, minute_finish, minute_start, month_finish, month_start, second_finish, second_start, start_of, week_finish, week_start, year_finish, year_start

Class Method Details

.get_callable(period, at) ⇒ Object



100
101
102
# File 'lib/3scale/backend/period/boundary.rb', line 100

def get_callable(period, at)
  method(:"#{period}_#{at}")
end