Sha256: 3d9f51a5d647c32e1a8ad4ef82e383435f6888734de6e515e0eccea3a15b94a3
Contents?: true
Size: 827 Bytes
Versions: 88
Compression:
Stored size: 827 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 # 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
88 entries across 88 versions & 1 rubygems