Module: YoudaoFanyi::Config

Defined in:
lib/youdao-fanyi/config.rb

Class Method Summary collapse

Class Method Details

.keyObject



20
21
22
# File 'lib/youdao-fanyi/config.rb', line 20

def self.key
  @@key
end

.key=(val) ⇒ Object



16
17
18
# File 'lib/youdao-fanyi/config.rb', line 16

def self.key=(val)
  @@key = val
end

.key_fromObject



12
13
14
# File 'lib/youdao-fanyi/config.rb', line 12

def self.key_from
  @@key_from
end

.key_from=(val) ⇒ Object



8
9
10
# File 'lib/youdao-fanyi/config.rb', line 8

def self.key_from=(val)
  @@key_from = val
end