Sha256: 558fc174fa96a0f54f5c987bfbfc8e136f3b2d536226095daa6fca7fbe04d43d

Contents?: true

Size: 451 Bytes

Versions: 5

Compression:

Stored size: 451 Bytes

Contents

require_relative '../../resource'
require_relative '../../shared/class_with_attributes'

module CheckMobi
  module Resources
    module Voice

      class HangupCall < Resource

        attributes :req_id

        private

        def defaults
          super.merge!({
                           rel_path: "/call/#{@req_id}",
                           http_method: ALLOWED_METHODS[2]
                       })
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
check_mobi-1.0.5 lib/check_mobi/resources/voice/hangup_call.rb
check_mobi-1.0.4 lib/check_mobi/resources/voice/hangup_call.rb
check_mobi-1.0.3 lib/check_mobi/resources/voice/hangup_call.rb
check_mobi-1.0.2 lib/check_mobi/resources/voice/hangup_call.rb
check_mobi-1.0.1 lib/check_mobi/resources/voice/hangup_call.rb