Sha256: 7a1cd3357cf65e5145e86f56d8542fa896e9a1e5ab1be3aed6266e92994b2fd0

Contents?: true

Size: 217 Bytes

Versions: 44

Compression:

Stored size: 217 Bytes

Contents

class MusiciansLicense < CanTango::License
  def initialize name
    super
  end

  def static_rules
    can(:read, Song)
    can(:write, Tune)
    can(:manage, Concerto)
    cannot(:manage, Improvisation)
  end
end

Version data entries

44 entries across 22 versions & 1 rubygems

Version Path
cantango-0.8.9.3 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9.3 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9.2 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9.2 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9.1 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9.1 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.9 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.8.1 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.8.1 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.8 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.8 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.7 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.7 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6.2 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6.2 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6.1 spec/dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6.1 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6 spec/devise-dummy/app/permits/licenses/musicians_license.rb
cantango-0.8.6 spec/dummy/app/permits/licenses/musicians_license.rb