Module: Assonnato
- Defined in:
- lib/assonnato/client.rb,
lib/assonnato/parser.rb,
lib/assonnato/request.rb,
lib/assonnato/version.rb,
lib/assonnato/api/show.rb,
lib/assonnato/api/user.rb,
lib/assonnato/assonnato.rb,
lib/assonnato/cookie_jar.rb,
lib/assonnato/api/episode.rb,
lib/assonnato/api_factory.rb
Overview
– Copyright © 2014 Giovanni Capuano <[email protected]>
Released under the MIT License opensource.org/licenses/MIT ++
Defined Under Namespace
Modules: Parser, Request Classes: ApiFactory, Client, CookieJar, Episode, Show, User
Constant Summary collapse
- VERSION =
'0.8.2'
Class Method Summary collapse
- .method_missing(method, *args, &block) ⇒ Object
- .new(host = 'pigro.omnivium.it', port = 80, ssl = false) ⇒ Object
- .respond_to?(method, include_private = false) ⇒ Boolean
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
15 16 17 18 |
# File 'lib/assonnato/assonnato.rb', line 15 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send method, *args, &block end |
.new(host = 'pigro.omnivium.it', port = 80, ssl = false) ⇒ Object
11 12 13 |
# File 'lib/assonnato/assonnato.rb', line 11 def new(host = 'pigro.omnivium.it', port = 80, ssl = false) Client.new host, port, ssl end |
.respond_to?(method, include_private = false) ⇒ Boolean
20 21 22 |
# File 'lib/assonnato/assonnato.rb', line 20 def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end |