Sha256: 956d14d45f4df114c14960e519af05b2931f7d0dd75b95ae02f77cab93e10338

Contents?: true

Size: 348 Bytes

Versions: 5

Compression:

Stored size: 348 Bytes

Contents

class ApplicationLoyalty
  attr_reader :user, :record

  def initialize(user, record)
    @user = user
    @record = record
  end

  def index?
    false
  end

  def show?
    false
  end

  def create?
    false
  end

  def new?
    create?
  end

  def update?
    false
  end

  def edit?
    update?
  end

  def destroy?
    false
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
banken-1.0.3 lib/generators/banken/install/templates/application_loyalty.rb
banken-1.0.2 lib/generators/banken/install/templates/application_loyalty.rb
banken-1.0.1 lib/generators/banken/install/templates/application_loyalty.rb
banken-1.0.0 lib/generators/banken/install/templates/application_loyalty.rb
banken-0.1.1 lib/generators/banken/install/templates/application_loyalty.rb