Class: Zencoder::Account

Inherits:
Resource show all
Defined in:
lib/zencoder/account.rb

Class Method Summary collapse

Methods inherited from Resource

api_key, base_url, delete, get, post, put

Methods included from Serializer

#decode, #encode, included

Class Method Details

.create(params = {}, options = {}) ⇒ Object



4
5
6
# File 'lib/zencoder/account.rb', line 4

def self.create(params={}, options={})
  post("/account", params, options)
end

.details(options = {}) ⇒ Object



8
9
10
# File 'lib/zencoder/account.rb', line 8

def self.details(options={})
  get("/account", options)
end

.integration(options = {}) ⇒ Object



12
13
14
# File 'lib/zencoder/account.rb', line 12

def self.integration(options={})
  put("/account/integration", nil, options)
end

.live(options = {}) ⇒ Object



16
17
18
# File 'lib/zencoder/account.rb', line 16

def self.live(options={})
  put("/account/live", nil, options)
end