Class: Applinks::Builder::WindowsPhoneBlock
- Defined in:
- lib/applinks/builder.rb
Instance Attribute Summary collapse
-
#app_id ⇒ Object
readonly
Returns the value of attribute app_id.
Attributes inherited from AppBlock
Attributes inherited from MetaBlock
Instance Method Summary collapse
-
#initialize(hsh, versioned) ⇒ WindowsPhoneBlock
constructor
A new instance of WindowsPhoneBlock.
- #valid? ⇒ Boolean
Constructor Details
#initialize(hsh, versioned) ⇒ WindowsPhoneBlock
122 123 124 125 |
# File 'lib/applinks/builder.rb', line 122 def initialize hsh, versioned super @app_id = hsh[:app_id] if hsh.has_key?(:app_id) end |
Instance Attribute Details
#app_id ⇒ Object (readonly)
Returns the value of attribute app_id.
120 121 122 |
# File 'lib/applinks/builder.rb', line 120 def app_id @app_id end |
Instance Method Details
#valid? ⇒ Boolean
127 128 129 |
# File 'lib/applinks/builder.rb', line 127 def valid? !@url.nil? end |