Sha256: 9c454d48101c6f5421a0a2384ece709ee1f17a87cb42834de6a288170708e967

Contents?: true

Size: 388 Bytes

Versions: 5

Compression:

Stored size: 388 Bytes

Contents

require 'bulutfon_sdk/rest/base_request'

module BulutfonSDK
  module REST
    class Cdr < BaseRequest

      def initialize(*args)
        super(*args)
        @resource = 'cdrs'
      end

      def all( params = {} )
        prepare_request( 'get', @resource,params)
      end

      def get( uuid )
        prepare_request( 'get', "#{@resource}/#{uuid}")
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bulutfon_sdk-1.3.0 lib/bulutfon_sdk/rest/cdr.rb
bulutfon_sdk-1.2.1 lib/bulutfon_sdk/rest/cdr.rb
bulutfon_sdk-1.2.0 lib/bulutfon_sdk/rest/cdr.rb
bulutfon_sdk-1.1.3 lib/bulutfon_sdk/rest/cdr.rb
bulutfon_sdk-1.1.0 lib/bulutfon_sdk/rest/cdr.rb