Class: Puavo::Client::API::Organisation

Inherits:
Base
  • Object
show all
Defined in:
lib/puavo/client/api/organisation.rb

Instance Attribute Summary

Attributes inherited from Base

#password, #ssl, #subdomain, #username

Instance Method Summary collapse

Methods inherited from Base

#all, #basic_auth, #find_all_by_memberUid, #find_by_school_id, #initialize, model_name, #rest, #url_prefix

Constructor Details

This class inherits a constructor from Puavo::Client::API::Base

Instance Method Details

#findObject



7
8
9
# File 'lib/puavo/client/api/organisation.rb', line 7

def find
  Puavo::Client::Organisation.new( self, rest("#{url_prefix}#{self.model_name.model_path}").parsed_response )
end