Method: Gemstash::Authorization#initialize
- Defined in:
- lib/gemstash/authorization.rb
#initialize(record) ⇒ Authorization
Returns a new instance of Authorization.
65 66 67 68 69 70 |
# File 'lib/gemstash/authorization.rb', line 65 def initialize(record) @auth_key = record.auth_key @name = record.name @all = record. == "all" = Set.new(record..split(",")) end |