class Opera::MobileStore::Build::UsesSDK

Attributes

max[RW]
min[RW]
target[RW]

Public Instance Methods

attributes() click to toggle source
# File lib/opera/mobile_store/build.rb, line 176
def attributes
  [:min, :target, :max].inject({}) do |hash, field_name|
    field_value = self.public_send field_name
    hash[field_name.to_s] = field_value if field_value.present?
    hash
  end
end