Module: Fizzy::Api

Defined in:
lib/fizzy/api.rb,
lib/fizzy/api/version.rb,
lib/fizzy/api/sessions.rb,
lib/fizzy/api/endpoints.rb,
lib/fizzy/api/endpoints/endpoint.rb,
lib/fizzy/api/endpoints/render_graph.rb,
lib/fizzy/api/endpoints/render_overview.rb,
lib/fizzy/api/endpoints/calculate_outcome.rb,
lib/fizzy/api/sessions/basic_auth_session.rb,
lib/fizzy/api/errors/graph_not_found_error.rb,
lib/fizzy/api/errors/unexpected_status_error.rb,
lib/fizzy/api/errors/method_not_allowed_error.rb,
lib/fizzy/api/errors/too_few_measurements_error.rb,
lib/fizzy/api/endpoints/render_graph_synchronous.rb,
lib/fizzy/api/errors/outcome_not_available_error.rb

Defined Under Namespace

Modules: Endpoints, Errors, Sessions Classes: NoSession, Unauthorized

Constant Summary collapse

VERSION =
'0.1.5'

Class Method Summary collapse

Class Method Details

.basic_auth_session(*arguments, &block) ⇒ Object



8
9
10
# File 'lib/fizzy/api/sessions.rb', line 8

def self.basic_auth_session(*arguments, &block)
  Sessions::BasicAuthSession.new(*arguments, &block)
end