mxhero-api 1.2.1 → 1.2.2
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 +8 -8
- data/VERSION +1 -1
- data/lib/mxhero-api.rb +5 -0
- data/mxhero-api.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDdhMjRjYzE4NmIyM2E4ZjU5MWMxMzIzMzRkMjE4Y2MzMmZiMzMzMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjFkNWM1YTc4MDM4OTdiNDU2MjhmNTk1MjY1MTI3NmQ5NDRkYjVkYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2Q3NDNlZjIxZWI0MDk2MDE3MDgzZTU0YTRlZGNkYzIyMThjMWE5YjVkN2I4
|
10
|
+
NTAxMDNhYjhhODBlOGY0ODFiY2YzZWZkNTY5MTA3NTUzZmQwN2NiNDVjZGI2
|
11
|
+
MmU4MmYwNjYwYzVmYmJhMWRiMGIzNzY2MDQwMDI2Mzc0ZWFlZmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmRkYWIwYmRkZWI1NGU0MTM0NWYxOTRkZWQ4NDM0MzVhZDM2ZTExOWJhZWUw
|
14
|
+
YTAxM2NlNjU5MmM2ZWE5ZTE4YjkyMDRhNWIxYmRiZjAzMGE1MmJjODExZWY2
|
15
|
+
NWQyZDhkNjZjY2E5MjljYzU5ZDE5N2VhNjlkMjQ0YzBhMTRjZWQ=
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.2
|
data/lib/mxhero-api.rb
CHANGED
@@ -134,6 +134,11 @@ module MxHero::API
|
|
134
134
|
response.status == 201
|
135
135
|
end
|
136
136
|
|
137
|
+
def update_domain(domain_obj = {})
|
138
|
+
response = call(:put, domain_by_id_url(domain_obj.domain), domain_obj.to_json, throw_exception: false)
|
139
|
+
response.status == 200
|
140
|
+
end
|
141
|
+
|
137
142
|
# Create a new domain base on domain_obj hash
|
138
143
|
#
|
139
144
|
# @param domain_obj The domain to be created. For example:
|
data/mxhero-api.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: mxhero-api 1.2.
|
2
|
+
# stub: mxhero-api 1.2.2 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "mxhero-api"
|
6
|
-
s.version = "1.2.
|
6
|
+
s.version = "1.2.2"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.authors = ["Maximiliano Dello Russo", "Juan Pablo Royo", "mxHero"]
|