class MultiBitly::Configuration

Attributes

accounts[RW]
data_store[RW]

Public Class Methods

new() click to toggle source
# File lib/multi_bitly/configuration.rb, line 6
def initialize
  @accounts = []
end

Private Instance Methods

symbolize_account_keys() click to toggle source
# File lib/multi_bitly/configuration.rb, line 20
def symbolize_account_keys
  @accounts.map { |account|
    account.each_with_object({}) { |key_value, hsh|
      hsh[key_value[0].to_sym.downcase] = key_value[1]
    }
  }
end