Sha256: 08972b5df3e7dd91d776f9e15abd8b6a6731923113d639ae04108fdb48018784

Contents?: true

Size: 469 Bytes

Versions: 13

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

13 entries across 13 versions & 1 rubygems

Version Path
bearcat-1.5.37 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.36 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.35 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.34 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.33 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.32 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.31 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.30 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.29 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.28 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.28.beta1 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.26 lib/catalogcat/client/email_domain_sets.rb
bearcat-1.5.24 lib/catalogcat/client/email_domain_sets.rb