Module: Tibber
- Extended by:
- WrAPI::Configuration, WrAPI::RespondTo
- Defined in:
- lib/tibber.rb,
lib/tibber/api.rb,
lib/tibber/const.rb,
lib/tibber/error.rb,
lib/tibber/client.rb,
lib/tibber/request.rb,
lib/tibber/version.rb,
lib/tibber/authorization.rb
Defined Under Namespace
Modules: Authentication, Request
Classes: API, AuthenticationError, Avatar, Client, ConfigurationError, Enum, GraphQLError, HomeType, Resolution, Screens, TibberError
Constant Summary
collapse
- DEFAULT_UA =
"Ruby Tibber API client #{Tibber::VERSION}".freeze
- DEFAULT_ENDPOINT =
'https://api.tibber.com/v1-beta/gql'.freeze
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.client(options = {}) ⇒ Hudu::Client
.reset ⇒ Object
17
18
19
20
21
22
|
# File 'lib/tibber.rb', line 17
def self.reset
super
self.endpoint = nil
self.user_agent = DEFAULT_UA
self.endpoint = DEFAULT_ENDPOINT
end
|