Class: DeGiro::Client
- Inherits:
-
Object
- Object
- DeGiro::Client
- Extended by:
- Forwardable
- Defined in:
- lib/degiro/client.rb
Instance Method Summary collapse
-
#initialize(login:, password:) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(login:, password:) ⇒ Client
Returns a new instance of Client.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/degiro/client.rb', line 27 def initialize(login:, password:) connection = Connection.new(login, password) @create_order = CreateOrder.new(connection) @find_product_by_id = FindProductById.new(connection) @find_products = FindProducts.new(connection) @get_cash_funds = GetCashFunds.new(connection) @get_orders = GetOrders.new(connection) @get_portfolio = GetPortfolio.new(connection) @get_transactions = GetTransactions.new(connection) end |