Sha256: a993d17e88d25009db2f0dcadb98848f667c4cb6112acbfbadb06b537b87cd39

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module Yao::Resources
  class Project < Base
    friendly_attributes :id, :name, :description, :enabled, :parent_id, :domain_id
    alias :enabled? :enabled

    self.service        = "identity"
    self.resource_name  = "project"
    self.resources_name = "projects"
    self.admin          = true

    def domain?
      @data["is_domain"]
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yao-0.9.1 lib/yao/resources/project.rb
yao-0.9.0 lib/yao/resources/project.rb
yao-0.8.0 lib/yao/resources/project.rb