lib/sms_aero/response.rb in sms_aero-0.1.1 vs lib/sms_aero/response.rb in sms_aero-0.1.2
- old
+ new
@@ -1,10 +1,10 @@
class SmsAero::Response
extend Dry::Initializer
extend SmsAero::Optional
- option :reason, proc(&:to_s), default: proc { nil }
- option :result, proc(&:strip), default: -> { "accepted" }
+ option :reason, proc(&:to_s), default: proc { nil }
+ option :result, proc(&:strip), default: -> { "accepted" }
def success?
result == "accepted"
end
@@ -25,6 +25,7 @@
require_relative "response/with_groups"
require_relative "response/with_id"
require_relative "response/with_senders"
require_relative "response/with_statuses"
require_relative "response/with_tariff"
+ require_relative "response/with_hlr"
end