Module: SoundCloud
- Defined in:
- lib/soundcloud.rb,
lib/soundcloud/client.rb,
lib/soundcloud/version.rb,
lib/soundcloud/response_error.rb,
lib/soundcloud/hash_response_wrapper.rb,
lib/soundcloud/array_response_wrapper.rb
Defined Under Namespace
Classes: ArrayResponseWrapper, Client, HashResponseWrapper, ResponseError
Constant Summary
collapse
- VERSION =
'0.3.7'
Class Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
18
19
20
21
|
# File 'lib/soundcloud.rb', line 18
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
18
19
20
21
|
# File 'lib/soundcloud.rb', line 18
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
13
14
15
|
# File 'lib/soundcloud.rb', line 13
def new(options={})
Client.new(options)
end
|
.respond_to_missing?(method_name, include_private = false) ⇒ Boolean
24
25
26
|
# File 'lib/soundcloud.rb', line 24
def respond_to_missing?(method_name, include_private=false)
Client.respond_to?(method_name, include_private)
end
|