Sha256: 90c5af756059306781efd8351e1eb350e0d5a3548b46a4250b3efaa9bbdbb2bd
Contents?: true
Size: 551 Bytes
Versions: 14
Compression:
Stored size: 551 Bytes
Contents
module Access class Member def self.process_batch(chunk) chunk.map { |member| new(member) } end def initialize(values) self.class.class_eval {attr_reader *values.keys } values.each do |attribute_name, attribute_value| self.instance_variable_set("@#{attribute_name}", attribute_value) end end def self.register(options = {}) Access::Api.new.member_registration options end def self.authenticate(options = {})3 Access::Api.new.member_authentication options end end end
Version data entries
14 entries across 14 versions & 1 rubygems