Sha256: e0e39a37010e6b1059ad872ca7c4db3117b8a1b1bce1e118c8349a26ded562b8

Contents?: true

Size: 285 Bytes

Versions: 45

Compression:

Stored size: 285 Bytes

Contents

module DiscourseApi
  module API
    module Email
      def email_settings
        response = get("/admin/email.json")
        response.body
      end

      def list_email(filter)
        response = get("/admin/email/#{filter}.json")
        response.body
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
discourse_api-0.34.0 lib/discourse_api/api/email.rb
discourse_api-0.33.0 lib/discourse_api/api/email.rb
discourse_api-0.32.0 lib/discourse_api/api/email.rb
discourse_api-0.31.0 lib/discourse_api/api/email.rb
discourse_api-0.30.0 lib/discourse_api/api/email.rb
discourse_api-0.29.0 lib/discourse_api/api/email.rb
discourse_api-0.28.1 lib/discourse_api/api/email.rb
discourse_api-0.28.0 lib/discourse_api/api/email.rb
discourse_api-0.27.0 lib/discourse_api/api/email.rb
discourse_api-0.26.0 lib/discourse_api/api/email.rb
discourse_api-0.25.0 lib/discourse_api/api/email.rb
discourse_api-0.24.0 lib/discourse_api/api/email.rb
discourse_api-0.23.1 lib/discourse_api/api/email.rb
discourse_api-0.23.0 lib/discourse_api/api/email.rb
discourse_api-0.22.0 lib/discourse_api/api/email.rb
discourse_api-0.20.1 lib/discourse_api/api/email.rb
discourse_api-0.20.0 lib/discourse_api/api/email.rb
discourse_api-0.19.0 lib/discourse_api/api/email.rb
discourse_api-0.18.0 lib/discourse_api/api/email.rb
discourse_api-0.17.0 lib/discourse_api/api/email.rb