Skip to content

Commit

Permalink
Wrapper --> SDK. Adding :txt as possible return format.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomerow committed Mar 4, 2019
1 parent 3fc8117 commit 4686f3d
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 67 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
![Logo](https://raw.githubusercontent.com/TextControl/txtextcontrol-reportingcloud-ruby/master/resource/rc_logo_512.png)

# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK

[![Gem Version](https://badge.fury.io/rb/txtextcontrol-reportingcloud.svg)](https://badge.fury.io/rb/txtextcontrol-reportingcloud)

This is the official Ruby wrapper for ReportingCloud, which is authored, maintained and fully supported by [Text Control](http://www.textcontrol.com).
This is the official Ruby SDK for the ReportingCloud Web API. It is authored, maintained and fully supported by [Text Control](http://www.textcontrol.com).

[http://www.reporting.cloud](http://www.reporting.cloud)

Expand Down
6 changes: 3 additions & 3 deletions lib/core_ext/string.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/account_settings.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/api_key.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/append_body.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/append_document.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/document_settings.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/find_and_replace_body.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/incorrect_word.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/merge_block.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/merge_body.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/merge_field.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/merge_settings.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
16 changes: 8 additions & 8 deletions lib/txtextcontrol/reportingcloud/reportingcloud.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down Expand Up @@ -30,7 +30,7 @@
module TXTextControl
module ReportingCloud

# The main wrapper class.
# The main class.
# @attr username [String] The user name.
# @attr password [String] The password.
# @attr base_uri [String] The API base url. Is set to "+https://api.reporting.cloud+"
Expand Down Expand Up @@ -89,7 +89,7 @@ def get_template_count
# Merges and returns a template from the template storage or an
# uploaded template with JSON data.
# @param return_format [Symbol] The format of the created document. Possible
# values are +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+ and +:tx+.
# values are +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+, +:tx+ and +:txt+.
# @param merge_body [MergeBody] The MergeBody object contains the datasource
# as a JSON data object and optionally, a template encoded as a Base64 string.
# @param template_name [String] The name of the template in the template storage.
Expand Down Expand Up @@ -131,7 +131,7 @@ def merge_document(merge_body, template_name = nil, return_format = :pdf, append
# @param append_body [TXTextControl::ReportingCloud::AppendBody] The AppendBody object
# contains the templates and a DocumentSettings object.
# @param return_format [Symbol] The format of the created document. Possible
# values are +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+ and +:tx+.
# values are +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+, +:tx+ and +:txt+.
# @param test [Boolean] Specifies whether it is a test run or not. A test run is
# not counted against the quota and created documents contain a watermark.
# @return [String] The resulting document as a Base64 string.
Expand Down Expand Up @@ -285,7 +285,7 @@ def get_template_page_count(template_name)
# @param template_data [String] The source document encoded as a Base64 string.
# The supported document formats are +.rtf+, +.doc+, +.docx+, +.html+, +.pdf+ and +.tx+.
# @param return_format [Symbol] The format of the created document.
# Possible values are: +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+ and +:tx+.
# Possible values are: +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+, +:tx+ and +:txt+.
# @param test [Boolean] Specifies whether it is a test run or not. A test run is not
# counted against the quota and created documents contain a watermark.
# @return [String] The created document encoded as a Base64 string.
Expand Down Expand Up @@ -331,7 +331,7 @@ def get_template_info(template_name)
# If no template is specified, the template must be included in the FindAndReplaceBody
# object of this request.
# @param return_format [Symbol] The format of the created document.
# Possible values are: +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+ and +:tx+.
# Possible values are: +:pdf+, +:rtf+, +:doc+, +:docx+, +:html+, +:tx+ and +:txt+.
# @param test [Boolean] Specifies whether it is a test run or not. A test run is not
# counted against the quota and created documents contain a watermark.
# @return [String] The created document encoded as a Base64 string.
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/template.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/template_data_validator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/template_info.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
6 changes: 3 additions & 3 deletions lib/txtextcontrol/reportingcloud/template_name_validator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand Down
8 changes: 4 additions & 4 deletions lib/txtextcontrol/reportingcloud/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReportingCloud Ruby Wrapper
# ReportingCloud Ruby SDK
#
# Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access
# ReportingCloud in Ruby.
# Official Ruby SDK for the ReportingCloud Web API. Authored, maintained and fully supported
# by Text Control GmbH. (http://www.textcontrol.com).
#
# Go to http://www.reporting.cloud to learn more about ReportingCloud
# Go to https://github.com/TextControl/txtextcontrol-reportingcloud-ruby for the
Expand All @@ -13,6 +13,6 @@

module TXTextControl
module ReportingCloud
VERSION = "1.2.0"
VERSION = "1.2.1"
end
end
4 changes: 2 additions & 2 deletions txtextcontrol-reportingcloud.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
spec.authors = ["Thorsten Kummerow"]
spec.email = ["[email protected]"]

spec.summary = "ReportingCloud Ruby Wrapper"
spec.description = "Official wrapper (authored by Text Control GmbH, publisher of ReportingCloud) to access ReportingCloud in Ruby."
spec.summary = "ReportingCloud Ruby SDK"
spec.description = "Official Ruby SDK for the ReportingCloud Web API. Authored and supported by Text Control GmbH."
spec.homepage = "http://www.reporting.cloud"
spec.licenses = ["BSD-2-Clause"]

Expand Down

0 comments on commit 4686f3d

Please sign in to comment.