Sha256: 1c66fe41b500bba6ec622db16cf3f9ea38518556a7d94ef81fe6139e6ffe85b7

Contents?: true

Size: 317 Bytes

Versions: 9

Compression:

Stored size: 317 Bytes

Contents

module FlexmlsApi
  module Models
    class SystemInfo < Base
      self.element_name="system"

      def primary_logo
        logo = nil
        mls_logos = attributes['Configuration'].first['MlsLogos']
        logo = mls_logos.first if !mls_logos.nil? and !mls_logos.empty?
        logo
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spark_api-1.0.2 lib/spark_api/models/system_info.rb~
spark_api-1.0.1 lib/spark_api/models/system_info.rb~
spark_api-1.0.0 lib/spark_api/models/system_info.rb~
flexmls_api-0.7.3 lib/flexmls_api/models/system_info.rb
flexmls_api-0.7.5 lib/flexmls_api/models/system_info.rb
flexmls_api-0.7.0 lib/flexmls_api/models/system_info.rb
flexmls_api-0.6.5 lib/flexmls_api/models/system_info.rb
flexmls_api-0.6.4 lib/flexmls_api/models/system_info.rb
flexmls_api-0.4.5 lib/flexmls_api/models/system_info.rb