Module: Lithic::Models::AuthRules::VelocityLimitPeriod

Extended by:
Internal::Type::Union
Defined in:
lib/lithic/models/auth_rules/velocity_limit_period.rb

Overview

Velocity over the current day since 00:00 / 12 AM in Eastern Time

Defined Under Namespace

Classes: FixedWindowDay, FixedWindowMonth, FixedWindowWeek, FixedWindowYear, TrailingWindowObject

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(day_of_month: nil, type: :MONTH) ⇒ Object

Some parameter documentations has been truncated, see FixedWindowMonth for more details.

Velocity over the current month since 00:00 / 12 AM in Eastern Time on specified ‘day_of_month`.

Parameters:

  • day_of_month (Integer) (defaults to: nil)

    The day of the month to start from. Accepts values from 1 to 31, and will reset

  • type (Symbol, :MONTH) (defaults to: :MONTH)


# File 'lib/lithic/models/auth_rules/velocity_limit_period.rb', line 37