Sha256: 1236c4cf2ffcfc0107fa535ca3f0724e673ff945cb6e234781ff5874888edd48

Contents?: true

Size: 409 Bytes

Versions: 68

Compression:

Stored size: 409 Bytes

Contents

require 'date'
require 'time'

module SparkApi
  module Models
    class OpenHouse < Base
      extend Subresource

      self.element_name = "openhouses"
      
      def initialize(attributes={})
        self.class.parse_date_start_and_end_times attributes
        if attributes["Comments"].nil?
          attributes["Comments"] = ""
        end
        super(attributes)
      end
      
    end
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
spark_api-1.4.24 lib/spark_api/models/open_house.rb
spark_api-1.4.23 lib/spark_api/models/open_house.rb
spark_api-1.4.22 lib/spark_api/models/open_house.rb
spark_api-1.4.21 lib/spark_api/models/open_house.rb
spark_api-1.4.20 lib/spark_api/models/open_house.rb
spark_api-1.4.19 lib/spark_api/models/open_house.rb
spark_api-1.4.18 lib/spark_api/models/open_house.rb
spark_api-1.4.17 lib/spark_api/models/open_house.rb
spark_api-1.4.16 lib/spark_api/models/open_house.rb
spark_api-1.4.15 lib/spark_api/models/open_house.rb
spark_api-1.4.14 lib/spark_api/models/open_house.rb
spark_api-1.4.13 lib/spark_api/models/open_house.rb
spark_api-1.4.12 lib/spark_api/models/open_house.rb
spark_api-1.4.11 lib/spark_api/models/open_house.rb
spark_api-1.4.10 lib/spark_api/models/open_house.rb
spark_api-1.4.9 lib/spark_api/models/open_house.rb
spark_api-1.4.8 lib/spark_api/models/open_house.rb
spark_api-1.4.6 lib/spark_api/models/open_house.rb
spark_api-1.4.5 lib/spark_api/models/open_house.rb
spark_api-1.4.4 lib/spark_api/models/open_house.rb