class Pripara::Brand

Constants

ATTR_KEYS

Public Class Methods

config_file_name() click to toggle source
# File lib/ruripara/brand.rb, line 16
def config_file_name
  "brands.yml"
end

Private Class Methods

attr_keys() click to toggle source
# File lib/ruripara/brand.rb, line 22
def attr_keys
  ATTR_KEYS
end

Public Instance Methods

charm() click to toggle source
# File lib/ruripara/brand.rb, line 11
def charm
  @charm ||= Pripara::Charm.find_by(id: charm_id) if charm_id
end