Sha256: 976691ef253ad44de6ca25667910ae94019866778509b601f59eb523545a9b40

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

class TentClient
  class Group
    def initialize(client)
      @client = client
    end

    def count(params={})
      @client.http.get('groups/count', params)
    end

    def list(params)
      @client.http.get('/groups', params)
    end

    def create(data)
      @client.http.post('/groups', data)
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tent-client-joebadmo-0.0.1 lib/tent-client/group.rb
tent-client-0.0.1 lib/tent-client/group.rb