Module: HackernewsRuby
- Defined in:
- lib/hackernews_ruby.rb,
lib/hackernews_ruby/client.rb,
lib/hackernews_ruby/request.rb,
lib/hackernews_ruby/version.rb
Defined Under Namespace
Modules: Request Classes: Client
Constant Summary collapse
- VERSION =
"0.0.4"
Class Attribute Summary collapse
-
.api_url ⇒ Object
Returns the value of attribute api_url.
-
.api_version ⇒ Object
Returns the value of attribute api_version.
Class Method Summary collapse
-
.configure {|_self| ... } ⇒ Object
configure default.
Class Attribute Details
.api_url ⇒ Object
Returns the value of attribute api_url.
11 12 13 |
# File 'lib/hackernews_ruby.rb', line 11 def api_url @api_url end |
.api_version ⇒ Object
Returns the value of attribute api_version.
11 12 13 |
# File 'lib/hackernews_ruby.rb', line 11 def api_version @api_version end |
Class Method Details
.configure {|_self| ... } ⇒ Object
configure default
14 15 16 |
# File 'lib/hackernews_ruby.rb', line 14 def configure yield self end |