Sha256: a6cff3c0742f719ee0c7ff9e3922f1ccee755d4c23ce10321ed32c30322d859c

Contents?: true

Size: 633 Bytes

Versions: 1

Compression:

Stored size: 633 Bytes

Contents

# cyn_sms
#
# This file was automatically generated by APIMATIC v2.0 (
# https://apimatic.io ).

module CynSms
  # Http response received.
  class HttpResponse
    attr_accessor :status_code, :headers, :raw_body

    # The constructor
    # @param [Integer] The status code returned by the server.
    # @param [Hash] The headers sent by the server in the response.
    # @param [String] The raw body of the response.
    def initialize(status_code,
                   headers,
                   raw_body)
      @status_code = status_code
      @headers = headers
      @raw_body = raw_body
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
CynSMS-1.0 lib/cyn_sms/http/http_response.rb