Module: HackerNewsSearch
- Defined in:
- lib/hacker_news_search.rb,
lib/hacker_news_search/client.rb,
lib/hacker_news_search/version.rb,
lib/hacker_news_search/client/items.rb,
lib/hacker_news_search/client/users.rb,
lib/hacker_news_search/client/search.rb,
lib/hacker_news_search/client/request.rb,
lib/hacker_news_search/client/connection.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.0.6"
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to HackerNewsSearch::Client.
-
.new ⇒ HackerNewsSearch::Client
Alias for HackerNewsSearch::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to HackerNewsSearch::Client
12 13 14 15 |
# File 'lib/hacker_news_search.rb', line 12 def self.method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new ⇒ HackerNewsSearch::Client
Alias for HackerNewsSearch::Client.new
7 8 9 |
# File 'lib/hacker_news_search.rb', line 7 def self.new HackerNewsSearch::Client.new end |
.respond_to?(method, include_private = false) ⇒ Boolean
17 18 19 |
# File 'lib/hacker_news_search.rb', line 17 def self.respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |