Sha256: ed23f13ec296edd01a42dba0797361f303cbddcc817a374eb47dcae589b3ac38

Contents?: true

Size: 243 Bytes

Versions: 11

Compression:

Stored size: 243 Bytes

Contents

module PostmanMta
  class ApplicationModel
    delegate :get, :post, :put, :patch, :delete, :response_body, :response_status, to: :connection

    protected

    def connection
      @connection ||= PostmanMta::ApiClient.new
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
postman_mta-0.2.8 app/models/postman_mta/application_model.rb
postman_mta-0.2.7 app/models/postman_mta/application_model.rb
postman_mta-0.2.6 app/models/postman_mta/application_model.rb
postman_mta-0.2.4 app/models/postman_mta/application_model.rb
postman_mta-0.2.3 app/models/postman_mta/application_model.rb
postman_mta-0.2.2 app/models/postman_mta/application_model.rb
postman_mta-0.2.1 app/models/postman_mta/application_model.rb
postman_mta-0.2.0 app/models/postman_mta/application_model.rb
postman_mta-0.1.9 app/models/postman_mta/application_model.rb
postman_mta-0.1.8 app/models/postman_mta/application_model.rb
postman_mta-0.1.7 app/models/postman_mta/application_model.rb