Module: OfficialFM

Defined in:
lib/officialfm.rb,
lib/officialfm/client.rb,
lib/officialfm/tracks.rb,
lib/officialfm/version.rb,
lib/officialfm/projects.rb,
lib/officialfm/playlists.rb

Defined Under Namespace

Modules: Playlists, Projects, Tracks Classes: Client

Constant Summary collapse

VERSION =
'0.2.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



9
10
11
# File 'lib/officialfm.rb', line 9

def api_key
  @api_key
end

Class Method Details

.configure { ... } ⇒ Object

Configures default credentials easily

Yields:

  • api_key



13
14
15
16
# File 'lib/officialfm.rb', line 13

def configure
  yield self
  true
end