Module: Wits

Extended by:
FinalInterimPrices, FiveMinutePrices, Nodes
Defined in:
lib/wits/client.rb,
lib/wits.rb,
lib/wits/error.rb,
lib/wits/nodes.rb,
lib/wits/helpers.rb,
lib/wits/version.rb,
lib/wits/price_codes.rb,
lib/wits/five_minute_prices.rb,
lib/wits/final_interim_prices.rb,
lib/wits/five_minute_prices/convenience_methods.rb,
lib/wits/final_interim_prices/convenience_methods.rb

Overview

A wrapper for the chosen HTTP library that can be easily replaced while keeping the Wits API and error classes consistent

Defined Under Namespace

Modules: Client, FinalInterimPrices, FiveMinutePrices, Helpers, Nodes, PriceCodes Classes: Error

Constant Summary collapse

VERSION =
'1.2.0'.freeze

Constants included from Nodes

Nodes::NODES, Nodes::NODE_NAMES, Nodes::SHORT_CODES

Constants included from PriceCodes

PriceCodes::AVERAGE, PriceCodes::FINAL, PriceCodes::FIVE_MINUTE, PriceCodes::FORECAST, PriceCodes::INTERIM, PriceCodes::PRICE_DESCRIPTION, PriceCodes::PRICE_TYPES

Method Summary

Methods included from Nodes

node_names, node_short_codes, nodes

Methods included from FinalInterimPrices

extended, forecast_prices, interim_prices, prices

Methods included from FinalInterimPrices::ConvenienceMethods

extended

Methods included from FiveMinutePrices

average_five_minute_prices, extended, five_minute_prices

Methods included from FiveMinutePrices::ConvenienceMethods

extended