lib/sms_aero/models/answer.rb in sms_aero-0.0.2 vs lib/sms_aero/models/answer.rb in sms_aero-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
class SmsAero
- class Answer < Evil::Client::Model
+ class Answer < Evil::Struct
attribute :reason, default: proc { nil }
attribute :result,
Types::FilledString.constructor(&:strip),
default: proc { "accepted" }
end