Sha256: 6c29a2b2ac9a2b265d6e35bbfd0fc869f730e9c279b040124593abf8455dcbc9

Contents?: true

Size: 580 Bytes

Versions: 1

Compression:

Stored size: 580 Bytes

Contents

class HmtSettings
  @@google_api_key = ""
  @@languages = []
  @@default_languages = []
  @@queue_type = "resque"
  
  def self.google_api_key=(key)
    @@google_api_key = key
  end
  def self.google_api_key
    @@google_api_key
  end
  def self.languages=(langs)
    @@languages = langs
  end
  def self.languages
    @@languages
  end
  def self.default_languages=(langs)
    @@default_languages = langs
  end
  def self.default_languages
    @@default_languages
  end
  def self.queue_type=(queue)
    @@queue_type = queue
  end
  def self.queue_type
    @@queue_type
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_many_translations-0.4.6 lib/has_many_translations/hmt_settings.rb