Sha256: c4d8d6a106fc7405746de68a81769a2ab6b3f4a070fc1ca2296ba0e5a5be788f
Contents?: true
Size: 507 Bytes
Versions: 5
Compression:
Stored size: 507 Bytes
Contents
require 'pp' require 'digest' require 'rest-client' require 'uuid' UUID.state_file = false require 'filer/config' require 'filer/uploader' require 'filer/attachment' require 'filer/file_info' require 'filer/validation' require 'filer/activerecord' class ApiError < StandardError attr_accessor :server_response def initialize(server_response) @server_response = server_response end def message @server_response["message"] end def http_code @server_response["httpCode"] end end
Version data entries
5 entries across 5 versions & 1 rubygems