Sha256: 98626f2eebd64240702e331f4991c99ed9c40943de513176c057c12b229ecd47
Contents?: true
Size: 630 Bytes
Versions: 67
Compression:
Stored size: 630 Bytes
Contents
# frozen_string_literal: true module Files class Status attr_reader :options, :attributes def initialize(attributes = {}, options = {}) @attributes = attributes || {} @options = options || {} end # int64 - Status http code def code @attributes[:code] end # string - Error message def message @attributes[:message] end # string - Status message def status @attributes[:status] end # Additional data def data @attributes[:data] end # array - A list of api errors def errors @attributes[:errors] end end end
Version data entries
67 entries across 67 versions & 1 rubygems