class Shokkenki::Provider::Model::Role

Attributes

label[R]
name[R]

Public Class Methods

from_hash(hash) click to toggle source
# File lib/shokkenki/provider/model/role.rb, line 8
def self.from_hash hash
  new(hash[:name], hash[:label])
end
new(name, label) click to toggle source
# File lib/shokkenki/provider/model/role.rb, line 12
def initialize name, label
  @name = name
  @label = label
end