Sha256: 970c5719a8104295c66848103d9e44d475116f904f2b1baef5bbd259c779c62d
Contents?: true
Size: 608 Bytes
Versions: 60
Compression:
Stored size: 608 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 def data @attributes[:data] end # array - A list of api errors def errors @attributes[:errors] end end end
Version data entries
60 entries across 60 versions & 1 rubygems