epp-eis 0.2.1 → 0.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.
@@ -28,7 +28,13 @@ module Epp
28
28
 
29
29
  def credit_info
30
30
  builder = build_epp_request do |xml|
31
- xml.credit_info
31
+ xml.extension {
32
+ xml.extcommand('xmlns:fred' => 'http://www.nic.cz/xml/epp/fred-1.4', 'xsi:schemaLocation' => 'http://www.nic.cz/xml/epp/fred-1.4 fred-1.4.xsd') {
33
+ xml.parent.namespace = xml.parent.namespace_definitions.first
34
+ xml.creditInfo
35
+ xml.clTRID UUIDTools::UUID.timestamp_create.to_s
36
+ }
37
+ }
32
38
  end
33
39
 
34
40
  CreditInfoResponse.new(send_request(builder.to_xml))
@@ -1,5 +1,5 @@
1
1
  module Eis
2
2
  module Epp
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epp-eis
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Priit Haamer