Class: RhoGallery::Group
- Inherits:
-
Base
- Object
- Base
- RhoGallery::Group
show all
- Defined in:
- lib/rhogallery/group.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#errors, #id, #initialize
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class RhoGallery::Base
Class Method Details
.find(id, options = RhoGallery.credentials) ⇒ Object
.find_all(options = RhoGallery.credentials) ⇒ Object
Instance Method Details
#create(data = @attributes, options = RhoGallery.credentials, resource = "groups") ⇒ Object
3
4
5
|
# File 'lib/rhogallery/group.rb', line 3
def create(data = @attributes, options = RhoGallery.credentials, resource = "groups")
super(data, options, resource)
end
|
#delete(options = RhoGallery.credentials, resource = "groups/#{self.id}") ⇒ Object
15
16
17
|
# File 'lib/rhogallery/group.rb', line 15
def delete(options = RhoGallery.credentials, resource = "groups/#{self.id}")
super(options, resource)
end
|
#save(data = @attributes, options = RhoGallery.credentials, resource = "groups") ⇒ Object
7
8
9
|
# File 'lib/rhogallery/group.rb', line 7
def save(data = @attributes, options = RhoGallery.credentials, resource = "groups")
super(data, options, resource)
end
|
#update(data = @attributes, options = RhoGallery.credentials) ⇒ Object
11
12
13
|
# File 'lib/rhogallery/group.rb', line 11
def update(data = @attributes, options = RhoGallery.credentials)
method_missing(:update)
end
|