Sha256: 4aa4a192db333ec8359fe028d1ecefa263480890343c7416eec63eb1aa98145e

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

class SmsAero::Tariff
  extend  Dry::Initializer
  extend  SmsAero::Callable
  include SmsAero::Optional

  option :"Direct channel",  proc(&:to_f), optional: true, as: :direct
  option :"Digital channel", proc(&:to_f), optional: true, as: :digital
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sms_aero-0.2.0 lib/sms_aero/tariff.rb
sms_aero-0.1.3 lib/sms_aero/tariff.rb
sms_aero-0.1.2 lib/sms_aero/tariff.rb
sms_aero-0.1.1 lib/sms_aero/tariff.rb
sms_aero-0.1.0 lib/sms_aero/tariff.rb