Sha256: e9a33759804aa45b28c3a30cddb7c041be07f099be9eb177a99d1b5a1fe621ae

Contents?: true

Size: 315 Bytes

Versions: 73

Compression:

Stored size: 315 Bytes

Contents

module SparkApi
  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

73 entries across 73 versions & 1 rubygems

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