class Strepi::Client

Constants

IGNORE_MEDIA
SERVICE_MAP
VALID_SERVICES

Attributes

ecs_credentials[RW]
ignore[RW]
services[RW]

Public Class Methods

new(options={}) click to toggle source

Arguments (all are optional):

  • :services - One or more of :amazon, :netflix, :hulu, or :itunes. Default is :all

# File lib/strepi/client.rb, line 19
def initialize(options={})
  self.services = options[:services] || VALID_SERVICES
  self.ignore = options[:ignore] ? IGNORE_MEDIA & options[:ignore] : IGNORE_MEDIA
  self.ecs_credentials = options[:ecs_credentials]
end

Public Instance Methods