Class: Deb::Account

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/deb/account.rb

Class Method Summary collapse

Class Method Details

.[](some_shot_name) ⇒ Object

attr_accessible :name, :kind, :short_name, :contra



11
12
13
# File 'app/models/deb/account.rb', line 11

def self.[](some_shot_name)
  where(short_name: some_shot_name).first
end