Module: GunBroker

Defined in:
lib/gun_broker.rb,
lib/gun_broker/api.rb,
lib/gun_broker/user.rb,
lib/gun_broker/item.rb,
lib/gun_broker/error.rb,
lib/gun_broker/version.rb,
lib/gun_broker/category.rb

Defined Under Namespace

Classes: API, Category, Error, Item, User

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.dev_keyObject


15
16
17
18
# File 'lib/gun_broker.rb', line 15

def self.dev_key
  raise 'GunBroker developer key not set.' unless dev_key_present?
  @@dev_key
end

.dev_key=(dev_key) ⇒ Object


11
12
13
# File 'lib/gun_broker.rb', line 11

def self.dev_key=(dev_key)
  @@dev_key = dev_key
end