class Stupeflixclient::StupeflixProfileSet

Public Class Methods

new( profiles, meta = nil, notify = nil) click to toggle source
Calls superclass method Stupeflixclient::StupeflixXMLNode::new
# File lib/stupeflixclient/stupeflix_client.rb, line 263
def initialize( profiles, meta = nil, notify = nil)
  children = metaChildrenAppend(meta, notify, profiles)
  super("profiles", {}, children)
end

Public Instance Methods

deflt(profiles) click to toggle source
# File lib/stupeflixclient/stupeflix_client.rb, line 268
def deflt(profiles)
  profSet = []
  for p in profiles
    upload = StupeflixDefaultUpload
    profSet += [StupeflixProfile(p, [upload])]
  end

  return  StupeflixProfileSet.new(profSet)
end