ovh_soapi 0.0.7 → 0.0.8

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.
Files changed (3) hide show
  1. data/lib/ovh_soapi/nic.rb +3 -3
  2. data/ovh_soapi.gemspec +1 -1
  3. metadata +3 -3
data/lib/ovh_soapi/nic.rb CHANGED
@@ -18,10 +18,10 @@ module OvhSoapi
18
18
  def create_it(nic_data)
19
19
  RpcDriver.soapi.nicCreateIT(
20
20
  Session.session,
21
- nic_data[:name], nic_data[:firstname], nic_data[:password], nic_data[:email],
21
+ nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:password], nic_data[:email],
22
22
  nic_data[:phone], nic_data[:fax], nic_data[:address], nic_data[:city],
23
23
  nic_data[:area], nic_data[:zip], nic_data[:country], nic_data[:language],
24
- nic_data[:isOwner], nic_data[:legalform], nic_data[:organisation],
24
+ nic_data[:isOwner], nic_data[:leg alform], nic_data[:organisation],
25
25
  nic_data[:legalName], nic_data[:legalNumber], nic_data[:vat],nic_data[:birthDay],
26
26
  nic_data[:birthCity], nic_data[:nationalIdentificationNumber], nic_data[:companyNationalIdentificationNumber],
27
27
  nic_data[:corporationType]
@@ -32,7 +32,7 @@ module OvhSoapi
32
32
  def update(nic_data)
33
33
  RpcDriver.soapi.nicUpdate(
34
34
  Session.session,
35
- nic_data[:nic], nic_data[:name], nic_data[:firstname], nic_data[:legalForm], nic_data[:organisation],
35
+ nic_data[:nic], nic_data[:name], nic_data[:firstname], nic_data[:sex], nic_data[:legalForm], nic_data[:organisation],
36
36
  nic_data[:legalName], nic_data[:legalNumber], nic_data[:vat]
37
37
  )
38
38
  end
data/ovh_soapi.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ovh_soapi}
5
- s.version = "0.0.7"
5
+ s.version = "0.0.8"
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", "Beniamino Faggian"]
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: 17
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dumitru Ceban