lib/coyodlee.rb
require_relative 'coyodlee/version'
require 'yajl'
# The global Yodlee configuration object
module Coyodlee
class << self
# The name of the Yodlee API host
# @return [String] The name of the Yodlee API host
attr_accessor :host
# The cobrand name
# @return [String] The cobrand name
attr_accessor :cobrand_name
# The login of your cobrand
# @return [String] The login of your cobrand
attr_accessor :cobrand_login
# The password of your cobrand
# @return [String] The password of your cobrand
attr_accessor :cobrand_password
# A comma-separated string of FastLink App IDs
# @return [String] A comma-separated string of FastLink App IDs
attr_accessor :fastlink_app_ids
# The FastLink url
# @return [String] The FastLink url
attr_accessor :fastlink_url
# The method to configure Yodlee parameters. Use this to set the global parameters such as {Yodlee.base_url}, {Yodlee.cobrand_login}, and {Yodlee.cobrand_password}
# @yieldparam config [Yodlee] The Yodlee object
def setup &block
yield self
end
end
end