Sha256: aa5cebc1f4d662064593a861a9db27f25967a4b2d7571a2a8526756bcece3303

Contents?: true

Size: 725 Bytes

Versions: 14

Compression:

Stored size: 725 Bytes

Contents

#
# library_summary.rb
# ConstantContact
#
# Copyright (c) 2013 Constant Contact. All rights reserved.

module ConstantContact
  module Components
    class LibrarySummary < Component
      attr_accessor :max_free_file_num, :max_premium_space_limit, :max_upload_size_limit, :image_root, :usage_summary

      # Factory method to create a LibrarySummary object from a json string
      # @param [Hash] props - properties to create object from
      # @return [LibrarySummary]
      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
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
constantcontact-4.0.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-3.0.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-2.2.1 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-ruby-2.2.1 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-ruby-2.2.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-2.2.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-2.1.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-2.0.1 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-2.0.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-1.3.2 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-1.2.0 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-1.1.2 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-1.1.1 lib/constantcontact/components/library/info/library_summary.rb
constantcontact-1.1.0 lib/constantcontact/components/library/info/library_summary.rb