Sha256: f9e9257dae4a96f00c763829acdfb26ecae490fcf54e7029bc039af881a006cc
Contents?: true
Size: 345 Bytes
Versions: 20
Compression:
Stored size: 345 Bytes
Contents
module Adparlor module Facebook class Error < StandardError attr_reader :error_code def initialize(message, error_code = nil, error_attributes = {}) @error_code = error_code error_attributes.each { |key, value| instance_variable_set("@#{key}".to_sym, value) } super message end end end end
Version data entries
20 entries across 20 versions & 1 rubygems