Sha256: ac921febc22dc90d90a9cab2673e5181ca33bc573067b97ebdf65b33c407bdbb
Contents?: true
Size: 689 Bytes
Versions: 3
Compression:
Stored size: 689 Bytes
Contents
module Trell class Client module Organizations def create_organization(name, options = {}) post "organizations/#{name}", options end alias_method :create_org, :create_organization def organization(name, options = {}) get "organizations/#{name}", options end alias_method :org, :organization def update_organization(name, options = {}) put "organizations/#{name}", options end alias_method :update_org, :update_organization def delete_organization(name, options = {}) delete "organizations/#{name}", options end alias_method :delete_org, :delete_organization end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
trell-0.0.4 | lib/trell/client/organizations.rb |
trell-0.0.3 | lib/trell/client/organizations.rb |
trell-0.0.2 | lib/trell/client/organizations.rb |