Sha256: 7575b17c57d0d8cec8645844a6a066cce415a133fe764a1222fd05b74292fc85
Contents?: true
Size: 538 Bytes
Versions: 2
Compression:
Stored size: 538 Bytes
Contents
# frozen_string_literal: true require 'portfolio_manager/rest/api' require 'portfolio_manager/rest/utils' module PortfolioManager module REST ## # REST client configuration for PortfolioManager gem. class Client include PortfolioManager::REST::API attr_accessor :username, :password, :live def initialize(options = {}) @live = false options.each do |key, value| instance_variable_set("@#{key}", value) end yield self if block_given? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
portfolio_manager-0.5.0 | lib/portfolio_manager/rest/client.rb |
portfolio_manager-0.4.0 | lib/portfolio_manager/rest/client.rb |