postman_mta 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bd93c122e3a75d39d6cdd8f4727cce9ebad4b72
4
- data.tar.gz: 41a3fb2cfcd0512c8d3ac201a7c3cbbf692a5e76
3
+ metadata.gz: 3a2303ada126d03d5308335886180c7229f75845
4
+ data.tar.gz: 30aec8f08445f633ef9e2095e60c2d179375ab5b
5
5
  SHA512:
6
- metadata.gz: 4d24f8d2bed37a32d1b99ab4733f95ec1ae06f49b0447a06669018be2df3a6e969dea9d270d5d001244a03fc4ff8907ca8076ba3e5c733883165e7504b7bfbf6
7
- data.tar.gz: 35d13d052fbc4f36bfce501c4e23d780ec0d44fa7cd2e5e19e70a9317d492f4197a65480720630405ee2c48b0ccd86eed5a1ced4d08458f8b24c0bac9cfdba12
6
+ metadata.gz: 9a791bafc6ab039bef5cd7045697aa1e693a4cbd5b5c9456bf380fbad61fe545c5c6e3754fcccf181e7f85bb73781b4c8aeaafaa5260d250f9fc1b6f1302c6c2
7
+ data.tar.gz: 722b30f24a934c3e6ed3d489fcc9e5c4bf47fb7444b476d83b26d07f219f80b77892fb3380c112f5a7343e9b67578470a5c7c985d0d16f5ff1ac677b5ca02a5e
data/lib/postman_mta.rb CHANGED
@@ -8,6 +8,7 @@ module PostmanMta
8
8
  end
9
9
 
10
10
  autoload :ApiClient, 'postman_mta/api_client'
11
+ autoload :ApiRequest, 'postman_mta/api_request'
11
12
 
12
13
  mattr_accessor :api_key
13
14
  mattr_accessor :api_secret
@@ -9,7 +9,7 @@ module PostmanMta
9
9
  private
10
10
 
11
11
  def perform_request(request_type, path, options = {})
12
- api_request = ApiRequest.new(request_type, path, options)
12
+ api_request = ::PostmanMta::ApiRequest.new(request_type, path, options)
13
13
  response = api_request.perform
14
14
 
15
15
  { json: response.parsed_response, status: response.code }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PostmanMta
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postman_mta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Malinovskiy