Class: Applinks::Builder::IOSBlock
- Defined in:
- lib/applinks/builder.rb
Instance Attribute Summary collapse
-
#app_store_id ⇒ Object
readonly
Returns the value of attribute app_store_id.
Attributes inherited from AppBlock
Attributes inherited from MetaBlock
Instance Method Summary collapse
-
#initialize(hsh, versioned) ⇒ IOSBlock
constructor
A new instance of IOSBlock.
- #valid? ⇒ Boolean
Constructor Details
#initialize(hsh, versioned) ⇒ IOSBlock
Returns a new instance of IOSBlock.
98 99 100 101 |
# File 'lib/applinks/builder.rb', line 98 def initialize hsh, versioned super @app_store_id = hsh[:app_store_id] if hsh.has_key?(:app_store_id) end |
Instance Attribute Details
#app_store_id ⇒ Object (readonly)
Returns the value of attribute app_store_id.
96 97 98 |
# File 'lib/applinks/builder.rb', line 96 def app_store_id @app_store_id end |
Instance Method Details
#valid? ⇒ Boolean
103 104 105 |
# File 'lib/applinks/builder.rb', line 103 def valid? !@url.nil? end |