Module: OneRuby
- Defined in:
- lib/one_ruby.rb,
lib/one_ruby/movie.rb,
lib/one_ruby/quote.rb,
lib/one_ruby/client.rb,
lib/one_ruby/version.rb
Defined Under Namespace
Constant Summary collapse
- ROOT_URL =
'https://the-one-api.dev/v2/'
- VERSION =
'1.0.0'
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.
10 11 12 |
# File 'lib/one_ruby.rb', line 10 def api_key @api_key end |
Class Method Details
.config {|_self| ... } ⇒ Object
12 13 14 |
# File 'lib/one_ruby.rb', line 12 def config yield self end |