Exception: PlayStoreInfo::InvalidStoreLink
- Inherits:
-
GenericError
- Object
- StandardError
- GenericError
- PlayStoreInfo::InvalidStoreLink
- Defined in:
- lib/play_store_info/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidStoreLink
constructor
A new instance of InvalidStoreLink.
Constructor Details
#initialize ⇒ InvalidStoreLink
Returns a new instance of InvalidStoreLink.
5 6 7 8 9 |
# File 'lib/play_store_info/errors.rb', line 5 def initialize store_link = 'https://play.google.com/store/apps/details?id=com.your.app&hl=en'.freeze super "URL should look like '#{store_link}'" end |