Module: BerlinBuehnen
- Defined in:
- lib/berlin_buehnen.rb,
lib/berlin_buehnen/client.rb,
lib/berlin_buehnen/version.rb,
lib/berlin_buehnen/response.rb,
lib/berlin_buehnen/list_response.rb,
lib/berlin_buehnen/response_error.rb
Defined Under Namespace
Classes: Client, ListResponse, Response, ResponseError
Constant Summary
collapse
- VERSION =
'0.1.1'
Class Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
16
17
18
19
|
# File 'lib/berlin_buehnen.rb', line 16
def method_missing(method_name, *args, &block)
return super unless respond_to_missing?(method_name)
Client.send(method_name, *args, &block)
end
|
Class Method Details
.method_missing(method_name, *args, &block) ⇒ Object
16
17
18
19
|
# File 'lib/berlin_buehnen.rb', line 16
def method_missing(method_name, *args, &block)
return super unless respond_to_missing?(method_name)
Client.send(method_name, *args, &block)
end
|
.new(options = {}) ⇒ Object
11
12
13
|
# File 'lib/berlin_buehnen.rb', line 11
def new(options={})
Client.new(options)
end
|
.respond_to_missing?(method_name, include_private = false) ⇒ Boolean
22
23
24
|
# File 'lib/berlin_buehnen.rb', line 22
def respond_to_missing?(method_name, include_private=false)
Client.respond_to?(method_name, include_private)
end
|