Sha256: 3e80e56877106eec16ca2371083a54360105eca7c0f4d6346e34a0589da0a2c1

Contents?: true

Size: 250 Bytes

Versions: 1

Compression:

Stored size: 250 Bytes

Contents

module Xsys
  module Model
    class User
      attr_accessor :id, :name, :shop_code

      def initialize(attributes={})
        attributes.each do |k,v|
          self.send("#{k}=", v) if self.respond_to?(k)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xsys-0.0.20 lib/xsys/model/user.rb