Sha256: d85e712d9a9b36b5e0ebb0f09c3645d8e7b450311c6fa47b7c0d32ca1d0cc064

Contents?: true

Size: 265 Bytes

Versions: 11

Compression:

Stored size: 265 Bytes

Contents

class SmsAero
  operation :check_balance do
    documentation "https://smsaero.ru/api/description/#get-balance"

    path { "balance" }

    response :success, 200, format: :json, model: Answer do
      attribute :balance, Types::Coercible::Float
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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