Sha256: 6c69450795268c59e203ccbdf85cd0a9da20d501027107ae36319a9a39452f55

Contents?: true

Size: 316 Bytes

Versions: 4

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true
module TopsConnect
  module Communities
    # Method: GET
    # Endpoint: Community_GetList
    def communities
      get '/community'
    end

    # Method: GET
    # Endpoint: Community_Get
    def community(community_id)
      get "/community/#{community_id.to_i}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tops_connect-0.1.3 lib/tops_connect/communities.rb
tops_connect-0.1.2 lib/tops_connect/communities.rb
tops_connect-0.1.1 lib/tops_connect/communities.rb
tops_connect-0.1.0 lib/tops_connect/communities.rb