Sha256: 43f49f647e68c704455431c406c9eb2a0ad7b31e48a3657165ac7c409d35bdd6

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

module Catalogcat
  class Client < Footrest::Client
    module EmailDomainSets
      def list_email_domain_sets(page = 1, params = {})
        get("/api/v1/emaiL_domain_sets?page=#{page}&per_page=100", params)
      end

      def update_email_domain_set(id, params = {})
        put("/api/v1/email_domain_sets/#{id}", params)
      end

      def get_email_domain_set(id, params = {})
        get("/api/v1/email_domain_sets/#{id}", params)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bearcat-1.5.23 lib/catalogcat/client/email_domain_sets.rb