Sha256: 693c2124a753c1662836d4b3abf99495e62ddb2d32b24d0759d92aca10c96f5c

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

module PostmanMta
  class Domain < ApplicationModel
    def index
      get('/api/v1/domains')
    end

    def create(params = {})
      post('/api/v1/domains', body: params)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
postman_mta-0.1.6 app/models/postman_mta/domain.rb