class ConstantContact::Components::UploadStatus

Attributes

description[RW]
file_id[RW]
status[RW]

Public Class Methods

create(props) click to toggle source

Factory method to create an UploadStatus object from a json string @param [Hash] props - properties to create object from @return [UploadStatus]

# File lib/constantcontact/components/library/info/upload_status.rb, line 15
def self.create(props)
  obj = UploadStatus.new
  if props
    props.each do |key, value|
      obj.send("#{key}=", value) if obj.respond_to?("#{key}=")
    end
  end
  obj
end