class ConstantContact::Components::LibrarySummary

Attributes

image_root[RW]
max_free_file_num[RW]
max_premium_space_limit[RW]
max_upload_size_limit[RW]
usage_summary[RW]

Public Class Methods

create(props) click to toggle source

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

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