Sha256: c24aacfc021302b001a2ee0c4effde08ff8d149e200db7d0ec2bfd255cd1f713
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
# Describes an SMS that can be send to either a phone or a group class SmsAero class Sms < Evil::Client::Model attribute :text, Types::FilledString attribute :date, Types::Future, optional: true attribute :digital, Types::Digital, optional: true attribute :type, Types::Channel, default: -> (*) do if digital == 1 Dry::Initializer::UNDEFINED else 2 end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sms_aero-0.0.2 | lib/sms_aero/models/sms.rb |