Sha256: eec649eaae44cb113f6ccdfb922e522c2617fa3cd0c0916b9d35c5ee886149ac
Contents?: true
Size: 842 Bytes
Versions: 279
Compression:
Stored size: 842 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 # Auto - Additional data def data @attributes[:data] end # array - A list of api errors def errors @attributes[:errors] end # int64 - Required Clickwrap id def clickwrap_id @attributes[:clickwrap_id] end # string - Required Clickwrap body def clickwrap_body @attributes[:clickwrap_body] end end end
Version data entries
279 entries across 279 versions & 1 rubygems