Module: GemJar
- Defined in:
- lib/gemjar.rb,
lib/gemjar/cli.rb,
lib/gemjar/client.rb,
lib/gemjar/version.rb,
lib/gemjar/resource.rb
Defined Under Namespace
Modules: Resource Classes: Cli, Client
Constant Summary collapse
- GEM_VERSION =
'0.0.3'
- API_VERSION =
'v1'
Class Attribute Summary collapse
-
.api_key ⇒ Object
Returns the value of attribute api_key.
Class Method Summary collapse
Class Attribute Details
.api_key ⇒ Object
Returns the value of attribute api_key.
9 10 11 |
# File 'lib/gemjar.rb', line 9 def api_key @api_key end |
Class Method Details
.configure {|GemJar| ... } ⇒ Object
15 16 17 |
# File 'lib/gemjar.rb', line 15 def configure(&block) yield GemJar end |
.endpoint ⇒ Object
11 12 13 |
# File 'lib/gemjar.rb', line 11 def endpoint 'https://gemjarhq.com/api/v1' end |