Sha256: ee592245422eb286afcfdae4d517cb26593ff6134f1afea5ad59c9fd415a1eb5

Contents?: true

Size: 477 Bytes

Versions: 4

Compression:

Stored size: 477 Bytes

Contents

class ScannableTicketsKit < Kit

  acts_as_kit :admin_only => true do
    approve  :unless => :no_bank_account?

    self.configurable = false

    state_machine do
      state :cancelled, :enter => :kit_cancelled
    end

    when_active do |organization|
      organization.can :access, :scannable_tickets
    end
  end

  def friendly_name
    "Scannable Tickets"
  end  

  def pitch
    "Your patrons will receive barcoded tickets that you can scan at the door."
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.24 app/models/kits/scannable_tickets_kit.rb
artfully_ose-1.2.0.pre.23 app/models/kits/scannable_tickets_kit.rb
artfully_ose-1.2.0.pre.21 app/models/kits/scannable_tickets_kit.rb
artfully_ose-1.2.0.pre.20 app/models/kits/scannable_tickets_kit.rb