Class: ShortURL::Services::Vurl
- Inherits:
-
ShortURL::Service
- Object
- ShortURL::Service
- ShortURL::Services::Vurl
- Defined in:
- lib/shorturl/services/vurl.rb
Instance Attribute Summary
Attributes inherited from ShortURL::Service
#action, #block, #code, #field, #method, #port, #response_block, #ssl
Instance Method Summary collapse
-
#initialize ⇒ Vurl
constructor
A new instance of Vurl.
Methods inherited from ShortURL::Service
Constructor Details
#initialize ⇒ Vurl
Returns a new instance of Vurl.
7 8 9 10 11 12 13 |
# File 'lib/shorturl/services/vurl.rb', line 7 def initialize super("vurl.me") @method = :get @action = "/shorten" @field = "url" end |