Sha256: 035979b82090ff06d90df66e9678ebab1775a619652e0ab51edff1ec4a17dc83
Contents?: true
Size: 835 Bytes
Versions: 26
Compression:
Stored size: 835 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 # 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
26 entries across 26 versions & 1 rubygems