lib/insales_api/account.rb in insales_api-0.0.13 vs lib/insales_api/account.rb in insales_api-0.1.0

- old
+ new

@@ -1,13 +1,5 @@ module InsalesApi class Account < Base - def self.current - find(:one, :from => '/admin/account.xml') - end - - def update - connection.put('/admin/account.xml', encode, self.class.headers).tap do |response| - load_attributes_from_response(response) - end - end + include ActiveResource::Singleton end end