Module: QcloudVod

Extended by:
Api::V1::TEvents, Api::V1::TMedia, Api::V1::TTask
Defined in:
lib/qcloud_vod.rb,
lib/qcloud_vod/http.rb,
lib/qcloud_vod/sign.rb,
lib/qcloud_vod/error.rb,
lib/qcloud_vod/utils.rb,
lib/qcloud_vod/version.rb,
lib/qcloud_vod/api/v1/t_task.rb,
lib/qcloud_vod/configuration.rb,
lib/qcloud_vod/api/v1/t_media.rb,
lib/qcloud_vod/api/v1/t_events.rb

Defined Under Namespace

Modules: Api Classes: Configuration, Error, Http, RequestError, Sign, Utils

Constant Summary collapse

VERSION =
'0.1.1'

Class Method Summary collapse

Methods included from Api::V1::TMedia

info

Methods included from Api::V1::TEvents

pull_events

Methods included from Api::V1::TTask

describe_tasks

Class Method Details

.configObject



24
25
26
# File 'lib/qcloud_vod.rb', line 24

def config
  @configuration
end

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

Yields:

  • (@configuration)


18
19
20
21
22
# File 'lib/qcloud_vod.rb', line 18

def configure
  @configuration ||= Configuration.new
  yield @configuration
  @configuration
end