Class: Ghee::API::Orgs::Members::Proxy
- Inherits:
-
ResourceProxy
- Object
- ResourceProxy
- Ghee::API::Orgs::Members::Proxy
- Defined in:
- lib/ghee/api/members.rb
Instance Attribute Summary
Attributes inherited from ResourceProxy
#connection, #current_page, #id, #pagination, #params, #path_prefix, #total
Instance Method Summary collapse
Methods inherited from ResourceProxy
accept_header, #all, #all_parallel, #build_prefix, #initialize, #method_missing, #paginate, #raw, #subject
Methods included from CUD
Constructor Details
This class inherits a constructor from Ghee::ResourceProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ghee::ResourceProxy
Instance Method Details
#check?(username = nil) ⇒ Boolean
36 37 38 39 |
# File 'lib/ghee/api/members.rb', line 36 def check?(username=nil) prefix = username ? File.join(path_prefix, username) : path_prefix connection.get(prefix).status == 204 end |