lib/bitshares.rb in bitshares-0.1.5 vs lib/bitshares.rb in bitshares-0.1.6

- old
+ new

@@ -16,10 +16,11 @@ CHAIN = Bitshares::Blockchain # stackoverflow.com/questions/6233124/where-to-place-access-config-file-in-gem module Bitshares - @config = {:wallet => {nil => nil}} # name/password key/value pairs + @config = {rpc_username: nil, rpc_password: nil, + :wallet => {nil => nil}} # name/password key/value pairs @valid_keys = @config.keys def self.configure(opts = {}) opts.each {|k,v| @config[k.to_sym] = v if @valid_keys.include? k.to_sym}