Method: WeBee::Config.add_license

Defined in:
lib/webee.rb

.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