Sha256: 7c412002ed77cca863709791c4754b9db088eb16d4b93e159f5d8e9c2704b54e
Contents?: true
Size: 663 Bytes
Versions: 4
Compression:
Stored size: 663 Bytes
Contents
module Useless module Doc class Response # Documentation for a response status for an API action. # # @!attribute [r] code # @return [Integer] the HTTP status code of the response. # # @!attribute [r] description # @return [String] a description of the rationale for # the response. # class Status attr_reader :code, :description # @param [Hash] attrs corresponds to the class's instance attributes. # def initialize(attrs = {}) @code = attrs[:code] @description = attrs[:description] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems