Sha256: 968543783bece4944044e80243661bd88d99db06f8682e8e220e9d04426f73d2

Contents?: true

Size: 380 Bytes

Versions: 11

Compression:

Stored size: 380 Bytes

Contents

class SmsAero
  operation :send_to_group do
    documentation "https://smsaero.ru/api/description/#send-sms"

    path { "sendtogroup" }

    query model: Sms do
      attribute :group, Types::FilledString, default: proc { "all" }
    end

    response :success, 200, format: :json, model: Answer do
      attribute :id, Types::Coercible::String, optional: true
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sms_aero-0.0.11 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.10 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.9 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.8 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.7 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.6 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.5 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.4 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.3 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.2 lib/sms_aero/operations/send_to_group.rb
sms_aero-0.0.1 lib/sms_aero/operations/send_to_group.rb