Sha256: a1e5cb168b32beba491b00fd3700dafdae231eb79bdb68837f3920577c1e12d2

Contents?: true

Size: 467 Bytes

Versions: 34

Compression:

Stored size: 467 Bytes

Contents

module Videojuicer
  class Seed
    include Videojuicer::Resource
    include Videojuicer::Exceptions
   
    property :name, String
    property :provider_name, String
    property :provider_url, String
    property :google_analytics_id, String
   
    # Returns the currently-configured seed
    def self.current
      proxy = Videojuicer::OAuth::RequestProxy.new
      jobj = JSON.parse(proxy.get("/seeds/current.json").body)
      new(jobj)
    end
    
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
vj-sdk-0.8.0.1 lib/videojuicer/seed.rb
vj-sdk-0.7.14 lib/videojuicer/seed.rb
vj-sdk-0.7.13 lib/videojuicer/seed.rb
vj-sdk-0.7.11 lib/videojuicer/seed.rb
vj-sdk-0.7.10 lib/videojuicer/seed.rb
vj-sdk-0.7.9 lib/videojuicer/seed.rb
vj-sdk-0.7.8 lib/videojuicer/seed.rb
vj-sdk-0.7.7 lib/videojuicer/seed.rb
vj-sdk-0.7.6 lib/videojuicer/seed.rb
vj-sdk-0.7.5 lib/videojuicer/seed.rb
vj-sdk-0.7.4 lib/videojuicer/seed.rb
vj-sdk-0.7.3 lib/videojuicer/seed.rb
vj-sdk-0.7.2 lib/videojuicer/seed.rb
vj-sdk-0.7.1 lib/videojuicer/seed.rb
vj-sdk-0.7.0 lib/videojuicer/seed.rb
vj-sdk-0.6.9 lib/videojuicer/seed.rb
vj-sdk-0.6.8 lib/videojuicer/seed.rb
vj-sdk-0.6.7 lib/videojuicer/seed.rb
vj-sdk-0.6.5 lib/videojuicer/seed.rb
vj-sdk-0.6.4 lib/videojuicer/seed.rb