Module: Nehm::Client

Defined in:
lib/nehm/client.rb

Overview

Soundcloud API client.

Constant Summary collapse

CLIENT_ID =

SoundCloud API client ID

'11a37feb6ccc034d5975f3f803928a32'

Class Method Summary collapse

Class Method Details

.get(*args) ⇒ Object



13
14
15
# File 'lib/nehm/client.rb', line 13

def self.get(*args)
  sc_client.get(*args)
end

.sc_clientObject



19
20
21
# File 'lib/nehm/client.rb', line 19

def sc_client
  @client ||= Soundcloud.new(client_id: CLIENT_ID)
end