Module: PipeDream

Defined in:
lib/pipe_dream.rb,
lib/pipe_dream/utils.rb,
lib/pipe_dream/result.rb,
lib/pipe_dream/request.rb,
lib/pipe_dream/version.rb,
lib/pipe_dream/response.rb,
lib/pipe_dream/results/base.rb,
lib/pipe_dream/configuration.rb,
lib/pipe_dream/results/video.rb,
lib/pipe_dream/results/channel.rb,
lib/pipe_dream/results/playlist.rb

Defined Under Namespace

Modules: Result, Utils Classes: Configuration, Request, Response

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



17
18
19
20
# File 'lib/pipe_dream.rb', line 17

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end