class Fonepaisa::Configuration
Attributes
api_key[RW]
salt[RW]
Public Class Methods
new()
click to toggle source
# File lib/fonepaisa/configuration.rb, line 5 def initialize @api_key = nil @salt = nil end
Public Instance Methods
api_key!()
click to toggle source
# File lib/fonepaisa/configuration.rb, line 10 def api_key! api_key || raise(FonepaisaError, 'No api key specified.') end
salt!()
click to toggle source
# File lib/fonepaisa/configuration.rb, line 14 def salt! salt || raise(FonepaisaError, 'No salt specified.') end