Sha256: 8ef8b0ed0887bda210c29d783f32c3c2cf921d3e315081ef542c5d49e1ddbad9

Contents?: true

Size: 209 Bytes

Versions: 7

Compression:

Stored size: 209 Bytes

Contents

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

    protected

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
postman_mta-0.1.6 app/models/postman_mta/application_model.rb
postman_mta-0.1.5 app/models/postman_mta/application_model.rb
postman_mta-0.1.4 app/models/postman_mta/application_model.rb
postman_mta-0.1.3 app/models/postman_mta/application_model.rb
postman_mta-0.1.2 app/models/postman_mta/application_model.rb
postman_mta-0.1.1 app/models/postman_mta/application_model.rb
postman_mta-0.1.0 app/models/postman_mta/application_model.rb