Class: UrliMe::Init
- Inherits:
-
Object
- Object
- UrliMe::Init
- Includes:
- HTTParty, Links
- Defined in:
- lib/urli_me/init.rb
Overview
class init access
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Init
constructor
A new instance of Init.
Methods included from Links
#all_links, #create_link, #delete_link, #get_link, #update_link
Constructor Details
#initialize(options = {}) ⇒ Init
Returns a new instance of Init.
10 11 12 13 14 |
# File 'lib/urli_me/init.rb', line 10 def initialize( = {}) .each do |key, value| instance_variable_set("@#{key}", value) end end |