Class: Insup::Insales::Base

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/insup/insales/base.rb

Direct Known Subclasses

Asset, Theme

Class Method Summary collapse

Class Method Details

.configure(api_key, domain, password) ⇒ Object



11
12
13
14
15
16
# File 'lib/insup/insales/base.rb', line 11

def self.configure(api_key, domain, password)
  self.user = api_key
  self.site = "http://#{domain}"
  self.password = password
  self
end