Class: Schwab::Operations::GetInstrumentByCusip
- Inherits:
-
BaseOperation
- Object
- BaseOperation
- Schwab::Operations::GetInstrumentByCusip
- Defined in:
- lib/schwab/operations/get_instrument_by_cusip.rb
Constant Summary
Constants inherited from BaseOperation
BaseOperation::HTTP_DEBUG_OUTPUT
Instance Attribute Summary
Attributes inherited from BaseOperation
Instance Method Summary collapse
Methods inherited from BaseOperation
Methods included from Util
Methods included from Error
Constructor Details
This class inherits a constructor from Schwab::Operations::BaseOperation
Instance Method Details
#call(cusip) ⇒ Object
6 7 8 |
# File 'lib/schwab/operations/get_instrument_by_cusip.rb', line 6 def call(cusip) perform_api_get_request(url: "https://api.schwabapi.com/marketdata/v1/instruments/#{cusip}") end |