Sha256: b373e5106a74b581d4b369fb3303c5bd84efa34a5913f40595573854af3a98fd

Contents?: true

Size: 202 Bytes

Versions: 13

Compression:

Stored size: 202 Bytes

Contents

class Guest < Hobo::Guest

  def can_update?(obj, field)
    false
  end

  def can_delete?(obj)
    false
  end

  def can_create?(obj)
    false
  end

  def can_view?(obj, field)
    true
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hobo-0.7.5 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.6.2 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.6.3 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.6.4 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.7.0 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.7.1 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.7.2 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.7.3 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.7.4 hobo_files/plugin/generators/hobo/templates/guest.rb
hobo-0.8.2 rails_generators/hobo/templates/guest.rb
hobo-0.8.3 rails_generators/hobo/templates/guest.rb
hobo-0.8.1 rails_generators/hobo/templates/guest.rb
hobo-0.8 rails_generators/hobo/templates/guest.rb