Sha256: cb4fca5127d1d50cf690afc156b0b6a3056113441d0c8b246a036a0cb1f86e9e
Contents?: true
Size: 329 Bytes
Versions: 10
Compression:
Stored size: 329 Bytes
Contents
module RubyRedtail class Authentication def initialize(authentication = {}) raise ArgumentError if authentication.class != Hash authentication.each do |key, value| key = key.underscore self.class.send :attr_accessor, key instance_variable_set "@#{key}", value end end end end
Version data entries
10 entries across 10 versions & 1 rubygems