Sha256: 28e9349315ae65bdd44825849353f771b662c826e68c31b0a72b1c0236a2c761
Contents?: true
Size: 339 Bytes
Versions: 5
Compression:
Stored size: 339 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) if respond_to?(k) } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems