Module: Trell::Client::Organizations
- Included in:
- Trell::Client
- Defined in:
- lib/trell/client/organizations.rb
Instance Method Summary collapse
- #create_organization(name, options = {}) ⇒ Object (also: #create_org)
- #delete_organization(name, options = {}) ⇒ Object (also: #delete_org)
- #organization(name, options = {}) ⇒ Object (also: #org)
- #update_organization(name, options = {}) ⇒ Object (also: #update_org)
Instance Method Details
#create_organization(name, options = {}) ⇒ Object Also known as: create_org
4 5 6 |
# File 'lib/trell/client/organizations.rb', line 4 def create_organization(name, = {}) post "organizations/#{name}", end |
#delete_organization(name, options = {}) ⇒ Object Also known as: delete_org
19 20 21 |
# File 'lib/trell/client/organizations.rb', line 19 def delete_organization(name, = {}) delete "organizations/#{name}", end |
#organization(name, options = {}) ⇒ Object Also known as: org
9 10 11 |
# File 'lib/trell/client/organizations.rb', line 9 def organization(name, = {}) get "organizations/#{name}", end |
#update_organization(name, options = {}) ⇒ Object Also known as: update_org
14 15 16 |
# File 'lib/trell/client/organizations.rb', line 14 def update_organization(name, = {}) put "organizations/#{name}", end |