Sha256: 3532f9d95e4904232a3d8d590162d5a225dc8c05f9077c2ee50d8a84d8fab962
Contents?: true
Size: 321 Bytes
Versions: 4
Compression:
Stored size: 321 Bytes
Contents
require 'active_support/all' module Enlight module Responses class Response attr_accessor :status attr_accessor :error def initialize(attributes={}) attributes.deep_transform_keys! { |k| k.to_s.underscore } attributes.each {|k,v| send("#{k}=", v) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems