ovh_soapi 0.0.2 → 0.0.3

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.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
2
2
  require "rake"
3
3
  require "echoe"
4
4
 
5
- Echoe.new("ovh_soapi", "0.0.2") do |p|
5
+ Echoe.new("ovh_soapi", "0.0.3") do |p|
6
6
  p.description = "Ruby client for OVH Soapi."
7
7
  p.url = "http://www.freshco.it"
8
8
  p.author = "Dumitru Ceban"
@@ -59,6 +59,16 @@ module OvhSoapi
59
59
  RpcDriver.soapi.domainInfo(Session.session, self.domain)
60
60
  end
61
61
 
62
+ # reset zona DNS
63
+ def domain_dns_reset(hosting,minimized)
64
+ RpcDriver.soapi.dnsReset(Session.session, self.domain,hosting,minimized)
65
+ end
66
+
67
+ # install zona DNS
68
+ def domain_dns_install(hosting,minimized)
69
+ RpcDriver.soapi.dnsInstall(Session.session, self.domain,hosting,minimized)
70
+ end
71
+
62
72
  end
63
73
  include Methods
64
74
  extend Methods
@@ -0,0 +1,15 @@
1
+ module OvhSoapi
2
+ class Email
3
+ module Methods
4
+
5
+ # Order email MX Plan.
6
+ def set_domain_mx_filtering(domain,subdomain,type,mx)
7
+ RpcDriver.soapi.emailSetDomainMxFiltering(Session.session, domain, subdomain, type, mx)
8
+ end
9
+
10
+ end
11
+ include Methods
12
+ extend Methods
13
+ end
14
+
15
+ end
data/ovh_soapi.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ovh_soapi}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Dumitru Ceban"]
9
- s.date = %q{2010-07-27}
9
+ s.date = %q{2010-07-28}
10
10
  s.description = %q{Ruby client for OVH Soapi.}
11
11
  s.email = %q{awstin.at@gmail.com}
12
- s.extra_rdoc_files = ["README.md", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/session.rb"]
13
- s.files = ["Manifest", "README.md", "Rakefile", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/session.rb", "ovh_soapi.gemspec", "pkg/ovh_soapi-0.0.1.alpha.gem"]
12
+ s.extra_rdoc_files = ["README.md", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/session.rb","lib/ovh_soapi/email.rb"]
13
+ s.files = ["Manifest", "README.md", "Rakefile", "lib/ovh_soapi.rb", "lib/ovh_soapi/domains.rb", "lib/ovh_soapi/nic.rb", "lib/ovh_soapi/order.rb", "lib/ovh_soapi/reseller.rb", "lib/ovh_soapi/session.rb", "ovh_soapi.gemspec", "lib/ovh_soapi/nic.rb","pkg/ovh_soapi-0.0.1.alpha.gem"]
14
14
  s.homepage = %q{http://www.freshco.it}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ovh_soapi", "--main", "README.md"]
16
16
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovh_soapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dumitru Ceban
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-27 00:00:00 +02:00
18
+ date: 2010-07-28 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -33,6 +33,7 @@ extra_rdoc_files:
33
33
  - lib/ovh_soapi/order.rb
34
34
  - lib/ovh_soapi/reseller.rb
35
35
  - lib/ovh_soapi/session.rb
36
+ - lib/ovh_soapi/email.rb
36
37
  files:
37
38
  - Manifest
38
39
  - README.md
@@ -45,6 +46,7 @@ files:
45
46
  - lib/ovh_soapi/session.rb
46
47
  - ovh_soapi.gemspec
47
48
  - pkg/ovh_soapi-0.0.1.alpha.gem
49
+ - lib/ovh_soapi/email.rb
48
50
  has_rdoc: true
49
51
  homepage: http://www.freshco.it
50
52
  licenses: []