Module: PrizePicks

Defined in:
lib/prizepicks.rb,
lib/prizepicks/error.rb,
lib/prizepicks/client.rb,
lib/prizepicks/config.rb,
lib/prizepicks/version.rb,
lib/prizepicks/collection.rb,
lib/prizepicks/objects/base.rb,
lib/prizepicks/objects/user.rb,
lib/prizepicks/api/endpoints.rb,
lib/prizepicks/objects/entry.rb,
lib/prizepicks/objects/league.rb,
lib/prizepicks/faraday/request.rb,
lib/prizepicks/api/responses/user.rb,
lib/prizepicks/faraday/connection.rb,
lib/prizepicks/objects/projection.rb,
lib/prizepicks/api/endpoints/entries.rb,
lib/prizepicks/api/endpoints/leagues.rb,
lib/prizepicks/api/endpoints/sign_in.rb,
lib/prizepicks/api/endpoints/projections.rb,
lib/prizepicks/objects/member_transaction.rb,
lib/prizepicks/api/endpoints/member_transactions.rb

Overview

require_relative ‘prizepicks/client’

Defined Under Namespace

Modules: Api, Config, Faraday Classes: Base, Client, Collection, Entry, Error, League, MemberTransaction, Projection, User

Constant Summary collapse

VERSION =
'0.4.0'

Class Method Summary collapse

Class Method Details

.configObject



24
25
26
# File 'lib/prizepicks/config.rb', line 24

def config
  Config
end

.configureObject



20
21
22
# File 'lib/prizepicks/config.rb', line 20

def configure
  block_given? ? yield(Config) : Config
end