Sha256: a5f0c9556849e78c101c9f6c767f4660e295cb6fa34322f3c26c604419becbaa

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

module FlexmlsApi
  module Models
    class Photo < Base
      extend Subresource

      self.element_name = "photos"

      def primary? 
        @attributes["Primary"] == true 
      end


    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
flexmls_api-0.6.5 lib/flexmls_api/models/photo.rb
flexmls_api-0.6.4 lib/flexmls_api/models/photo.rb
flexmls_api-0.4.5 lib/flexmls_api/models/photo.rb
flexmls_api-0.3.6 lib/flexmls_api/models/photo.rb
flexmls_api-0.3.3 lib/flexmls_api/models/photo.rb
flexmls_api-0.3.2 lib/flexmls_api/models/photo.rb