Sha256: bd4a562f7505637d1cfb0e04d2e53f3a07e47c4bf5b653962e10aa9b03523ff5

Contents?: true

Size: 452 Bytes

Versions: 12

Compression:

Stored size: 452 Bytes

Contents

module RingCentralSdk
  module REST
    module Request
      # Base class for various types of requests.
      class Base
        def method
          'get' # HTTP methods
        end

        def url
          ''
        end

        def params
          {}
        end

        def headers
          {}
        end

        def content_type
          ''
        end

        def body
          '' # '' || Hash
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ringcentral_sdk-3.1.0 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-3.0.1 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-3.0.0 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.3.0 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.2.3 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.2.2 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.2.1 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.1.0 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.0.3 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.0.2 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.0.1 lib/ringcentral_sdk/rest/request/base.rb
ringcentral_sdk-2.0.0 lib/ringcentral_sdk/rest/request/base.rb