inwx-rb 0.1.0 → 0.1.1

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: 4845770ac3f74d46716b1df408d07e23e1396a34
4
- data.tar.gz: 13f9a899c737f1d2d7059cf8d2f8e0b8a750b733
3
+ metadata.gz: 9b218ae806633a8ce3fbd19c0897325288081e8a
4
+ data.tar.gz: 7656147cb5ce6082c9e07d2161ce6bcacbe5101e
5
5
  SHA512:
6
- metadata.gz: 3776bc50c36ee4ce695acf129a3672ede91e56ebc759fe8eb57b869d3e0078ecbe2e72d9a200cad2acc0a410c59136982f8070a7bcbfbadceacb8c7cc8bef536
7
- data.tar.gz: 9282d8171b23726bf46dd3689cac30926c9a2373107fc67a4c4b7ed8ca31e05f1d8f2fa35833ea52abcd7158d60535f640ee8da20c37bb41b8e5231faa948e59
6
+ metadata.gz: 480321ebf006454885a29c95a3d07bbadfc9afba1f0540f941ff87e7cccb48d9255a21aae33703f9e2ee717133cf83db6f5a63de1190ff557362e7b1da46c2b7
7
+ data.tar.gz: 1dd32c5c214916c870e1ce974a7cf08320a51a41f9dd5113fd6845d8dffd98eb0a5386f53b28fb810d31a423bd44de28474332287cecf707b98ec6beed2ed26c
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
- # Inwx::Rb
1
+ # INWX::Domrobot
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/inwx/rb`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ You can access all functions of our frontend via an application programming interface (API). Our API is based on the XML-RPC protocol and thus can be easily addressed by almost all programming languages. The documentation and programming examples in PHP, Java, Ruby and Python can be downloaded here.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OTE system no actions will be charged. So you can test how to register domains etc.
6
6
 
7
7
  ## Installation
8
8
 
@@ -20,9 +20,38 @@ Or install it yourself as:
20
20
 
21
21
  $ gem install inwx-rb
22
22
 
23
+
24
+ ## Documentation
25
+
26
+ You can view a detailed description of the API functions in our documentation. The documentation as PDF ist part of the Projekt. You also can read the documentation online http://www.inwx.de/en/help/apidoc
27
+
23
28
  ## Usage
24
29
 
25
- TODO: Write usage instructions here
30
+ ```ruby
31
+ require "inwx/domrobot"
32
+ require "yaml"
33
+
34
+ addr = "api.ote.domrobot.com"
35
+ # addr = "api.domrobot.com"
36
+ user = "your_username"
37
+ pass = "your_password"
38
+
39
+ domrobot = INWX::Domrobot.new(addr)
40
+
41
+ result = domrobot.login(user,pass)
42
+ puts YAML::dump(result)
43
+
44
+ object = "domain"
45
+ method = "check"
46
+
47
+ params = { :domain => "mydomain.com" }
48
+
49
+ result = domrobot.call(object, method, params)
50
+
51
+ puts YAML::dump(result)
52
+ ```
53
+
54
+ You can also look at the example.rb in the Project.
26
55
 
27
56
  ## Development
28
57
 
@@ -32,8 +61,13 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
61
 
33
62
  ## Contributing
34
63
 
35
- 1. Fork it ( https://github.com/[my-github-username]/inwx-rb/fork )
64
+ 1. Fork it ( https://github.com/steigr/inwx-rb/fork )
36
65
  2. Create your feature branch (`git checkout -b my-new-feature`)
37
66
  3. Commit your changes (`git commit -am 'Add some feature'`)
38
67
  4. Push to the branch (`git push origin my-new-feature`)
39
68
  5. Create a new Pull Request
69
+
70
+
71
+ ## License
72
+
73
+ MIT
@@ -6,8 +6,8 @@ require 'inwx/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "inwx-rb"
8
8
  spec.version = INWX::VERSION
9
- spec.authors = ["Mathias Kaufmann"]
10
- spec.email = ["me@stei.gr"]
9
+ spec.authors = ["Mathias Kaufmann","InterNetworX Ltd. & Co. KG"]
10
+ spec.email = ["me@stei.gr","info@inwx.de"]
11
11
 
12
12
  spec.summary = %q{INWX XML-RPC client.}
13
13
  spec.description = %q{INWX XML-RPC client.}
@@ -1,3 +1,3 @@
1
1
  module INWX
2
- VERSION="0.1.0"
2
+ VERSION="0.1.1"
3
3
  end
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inwx-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mathias Kaufmann
8
+ - InterNetworX Ltd. & Co. KG
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
@@ -41,6 +42,7 @@ dependencies:
41
42
  description: INWX XML-RPC client.
42
43
  email:
43
44
  - me@stei.gr
45
+ - info@inwx.de
44
46
  executables: []
45
47
  extensions: []
46
48
  extra_rdoc_files: []