Sha256: ec01b29ab05aee38528038650b046b79eb570e9c6a7c8a2dc4e60637a60b4485
Contents?: true
Size: 703 Bytes
Versions: 3
Compression:
Stored size: 703 Bytes
Contents
require 'bunny_app/version' require 'bunny_app/errors' require 'bunny_app/client' require 'bunny_app/feature_usage' require 'bunny_app/platform' require 'bunny_app/tenant' require 'bunny_app/subscription' require 'bunny_app/webhook' require 'bunny_app/portal_session' module BunnyApp class << self attr_accessor :client_id, :client_secret, :scope, :access_token, :retryable attr_writer :base_uri def config yield self end def base_uri @base_uri || 'https://api.bunny.com' end def query(query, variables) Client.new.query(query, variables) end def query_async(query, variables) Client.new.query_async(query, variables) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bunny_app-2.1.0 | lib/bunny_app.rb |
bunny_app-2.0.1 | lib/bunny_app.rb |
bunny_app-2.0.0 | lib/bunny_app.rb |