Sha256: ff844257d0b51b4cb0b940a671987c3f070d9fb22a4e3a898852186df50dcc12

Contents?: true

Size: 221 Bytes

Versions: 9

Compression:

Stored size: 221 Bytes

Contents

class SmsAero
  class Answer < Evil::Struct
    attribute :reason, default: proc { nil }
    attribute :result,
              Types::FilledString.constructor(&:strip),
              default: proc { "accepted" }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sms_aero-0.0.11 lib/sms_aero/models/answer.rb
sms_aero-0.0.10 lib/sms_aero/models/answer.rb
sms_aero-0.0.9 lib/sms_aero/models/answer.rb
sms_aero-0.0.8 lib/sms_aero/models/answer.rb
sms_aero-0.0.7 lib/sms_aero/models/answer.rb
sms_aero-0.0.6 lib/sms_aero/models/answer.rb
sms_aero-0.0.5 lib/sms_aero/models/answer.rb
sms_aero-0.0.4 lib/sms_aero/models/answer.rb
sms_aero-0.0.3 lib/sms_aero/models/answer.rb