class Ecertic::Resource::Base

Public Class Methods

new(attributes = {}) click to toggle source
# File lib/ecertic/resources/base.rb, line 6
def initialize(attributes = {})
  attributes.each do |key, value|
    m = "#{key}=".to_sym
    send(m, value) if respond_to?(m)
  end
end