Sha256: cfcad62667229467a6a514ea8a20ac88c5ded86b940cd47d658548745770819f

Contents?: true

Size: 286 Bytes

Versions: 2

Compression:

Stored size: 286 Bytes

Contents

module Board
  class Client::Organizations < Client::API

    def create(attributes)
      post("/organizations", attributes)
    end

    def find(id)
      if id.is_a?(Hash)
        get("/organizations", id)
      else
        get("/organizations/#{id}")
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
board-client-0.99.1 lib/board/client/organizations.rb
board-client-0.99.0 lib/board/client/organizations.rb