Method: TinkoffInvestClient::OperationTrade.build_from_hash

Defined in:
lib/tinkoff_invest_client/models/operation_trade.rb

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



149
150
151
# File 'lib/tinkoff_invest_client/models/operation_trade.rb', line 149

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end