Class: WeBee::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/webee.rb

Class Method Summary collapse

Class Method Details

.add_license(hash) ⇒ Object



72
73
74
# File 'lib/webee.rb', line 72

def self.add_license(hash)
  RestClient.post Api.url + "/config/licenses" , "<license><code>#{hash}</code></license>", :content_type => :xml
end