gillbus-v2 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c0b1da1daa5d8dbad4918b9924877bb40492c30b4557daa20464505493b9d78b
4
+ data.tar.gz: 5ffe4476faafc56d9fca5803b8f45651a5cb14a6ea5a80ace63d9b126ddd2168
5
+ SHA512:
6
+ metadata.gz: 7ff084e7e3e8cd633467e573f500e5df9d501065b71ba2c5a3126962fef7a33002b8bbd27d2d8ebc6c4886b28326b62d317220136e4111bc93944c292975317c
7
+ data.tar.gz: a87780270f9bd71b62009114c2dff5c0a88a5b4d1422c57dda33ad96131a599bfde6acf73b1355ee615d9ee72b2c235fb748edde24849f48f6e38dc8c398f3a0
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ Gemfile.lock
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.3.5
7
+ before_install: gem install bundler
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at khrebtov.dev@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in gillbus-v2.gemspec
6
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Roman Khrebtov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,97 @@
1
+ # Gillbus::V2
2
+
3
+ [![Build Status](https://travis-ci.com/busfor/gillbus-v2-ruby.svg?branch=master)](https://travis-ci.com/busfor/gillbus-v2-ruby)
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'gillbus-v2'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install gillbus-v2
20
+
21
+ ## Usage
22
+
23
+ ### Authentication
24
+
25
+ When the access-token is not existed you should use methods `authenticate` or `authenticate!`. Method `authenticate!` raises exception if authentication is failed.
26
+
27
+ ```ruby
28
+ client = Gillbus::V2::Client.new(base_url: 'https://example.com')
29
+ client.authenticate!(
30
+ username: 'test',
31
+ password: '12345',
32
+ lang: 'ru',
33
+ time_zone: 'Europe/Moscow',
34
+ )
35
+ ```
36
+
37
+ After `authenticate` you need to check the result with `authenticated?`.
38
+
39
+ ```ruby
40
+ client.authenticate(
41
+ username: 'test',
42
+ password: '12345',
43
+ lang: 'ru',
44
+ time_zone: 'Europe/Moscow',
45
+ )
46
+ client.authenticated?
47
+ # => true | false
48
+ ```
49
+
50
+ After successfull authentication you need to save an access_token.
51
+
52
+ ```ruby
53
+ # only token
54
+ token_string = client.access_token.to_s
55
+
56
+ # full token data (token type, expiration time)
57
+ token_data = client.access_token.raw_data
58
+ ```
59
+
60
+ When you have an access_token you should be able to pass it to the client.
61
+
62
+ ```ruby
63
+ client = Gillbus::V2::Client.new(
64
+ base_url: 'https://example.com',
65
+ access_token: token_string, # or token_data
66
+ )
67
+ ```
68
+
69
+ You need to check the expiration time of the token. If the token becomes expired you should repeat the authentication process again.
70
+
71
+ ```ruby
72
+ if client.access_token.expired?
73
+ client.authenticate!(...)
74
+ new_token = client.access_token.raw_data
75
+ # store new token
76
+ end
77
+ ```
78
+
79
+ The method `expired?` returns `false` when there is no info about the token’s expiration time.
80
+
81
+ ## Development
82
+
83
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
84
+
85
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
86
+
87
+ ## Contributing
88
+
89
+ Bug reports and pull requests are welcome on GitHub at https://github.com/busfor/gillbus-v2-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
90
+
91
+ ## License
92
+
93
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
94
+
95
+ ## Code of Conduct
96
+
97
+ Everyone interacting in the Gillbus::V2 project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/busfor/gillbus-v2-ruby/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "gillbus/v2"
5
+
6
+ require "pry"
7
+ Pry.start
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
@@ -0,0 +1,32 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "gillbus/v2/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "gillbus-v2"
8
+ spec.version = Gillbus::V2::VERSION
9
+ spec.authors = ["Roman Khrebtov"]
10
+ spec.email = ["khrebtov.dev@gmail.com"]
11
+
12
+ spec.summary = "Ruby wrapper for Gillbus GDS API v2"
13
+ spec.description = "Ruby wrapper for Gillbus GDS API v2"
14
+ spec.homepage = "https://github.com/busfor/gillbus-v2-ruby"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
18
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_dependency 'faraday'
25
+
26
+ spec.add_development_dependency "bundler"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ spec.add_development_dependency "minitest", "~> 5.0"
29
+ spec.add_development_dependency "timecop"
30
+ spec.add_development_dependency "vcr"
31
+ spec.add_development_dependency "pry"
32
+ end
@@ -0,0 +1,15 @@
1
+ require "date"
2
+ require "json"
3
+
4
+ require "faraday"
5
+
6
+ require "gillbus/v2/version"
7
+ require "gillbus/v2/errors"
8
+ require "gillbus/v2/client"
9
+
10
+ require "gillbus/v2/parser"
11
+ require "gillbus/v2/structs/base"
12
+ require "gillbus/v2/structs/access_token"
13
+
14
+ require "gillbus/v2/responses/base"
15
+ require "gillbus/v2/responses/authenticate"
@@ -0,0 +1,74 @@
1
+ module Gillbus::V2
2
+ class Client
3
+ attr_reader :base_url
4
+ attr_reader :access_token
5
+
6
+ def initialize(base_url:, access_token: nil)
7
+ @base_url = base_url
8
+ @access_token =
9
+ if access_token.is_a?(Structs::AccessToken)
10
+ access_token
11
+ elsif access_token.is_a?(String)
12
+ Structs::AccessToken.from_token_string(access_token)
13
+ elsif access_token.is_a?(Hash)
14
+ Structs::AccessToken.from_raw_data(access_token)
15
+ end
16
+ end
17
+
18
+ def authenticated?
19
+ !access_token.nil? && !access_token.expired?
20
+ end
21
+
22
+ def authenticate(username:, password:, lang:, time_zone:)
23
+ params = {
24
+ username: username,
25
+ password: password,
26
+ lang: lang,
27
+ timeZone: time_zone,
28
+ }
29
+ response = call_api(:post, "/v2/login", params,
30
+ auth_required: false,
31
+ response_class: Responses::Authenticate,
32
+ )
33
+ @access_token = response.access_token
34
+ response
35
+ end
36
+
37
+ def authenticate!(**args)
38
+ response = authenticate(**args)
39
+ unless authenticated?
40
+ raise AuthenticationFailed, response.error_message
41
+ end
42
+ end
43
+
44
+ private
45
+
46
+ def call_api(http_method, url, params, auth_required: true, response_class: Responses::Base)
47
+ raise AuthenticationRequired if auth_required && !authenticated?
48
+
49
+ params.reject! { |k, v| v.nil? }
50
+
51
+ http_response =
52
+ begin
53
+ connection.public_send(http_method) do |request|
54
+ request.url url
55
+ params.each do |key, value|
56
+ request.params[key.to_s] = value
57
+ end
58
+ request.headers['accept'] = 'application/json'
59
+ end
60
+ rescue Faraday::Error => e
61
+ raise e
62
+ end
63
+
64
+ response_class.new(http_response)
65
+ end
66
+
67
+ def connection
68
+ @connection ||= Faraday.new(url: base_url) do |faraday|
69
+ faraday.request :url_encoded
70
+ faraday.adapter Faraday.default_adapter
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,5 @@
1
+ module Gillbus::V2
2
+ class Error < StandardError; end
3
+ class AuthenticationRequired < Error; end
4
+ class AuthenticationFailed < Error; end
5
+ end
@@ -0,0 +1,30 @@
1
+ module Gillbus::V2
2
+ class Parser
3
+ def parse_fields(raw_data, fields_settings)
4
+ result = {}
5
+ fields_settings.each do |name:, type:, default:|
6
+ raw_value = raw_data[name.to_s]
7
+ result[name] =
8
+ if raw_value.nil?
9
+ default
10
+ else
11
+ coerce_value(raw_value, type)
12
+ end
13
+ end
14
+ result
15
+ end
16
+
17
+ def coerce_value(value, type)
18
+ case type
19
+ when :string
20
+ value.to_s
21
+ when :integer
22
+ value.to_i
23
+ when :date_time_from_timestamp
24
+ DateTime.strptime(value.to_s, "%s")
25
+ else
26
+ raise "Type #{type} not supported"
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,15 @@
1
+ module Gillbus::V2
2
+ module Responses
3
+ class Authenticate < Responses::Base
4
+ def success?
5
+ http_status == 200 && !access_token.nil?
6
+ end
7
+
8
+ def access_token
9
+ if json_body["access_token"]
10
+ Structs::AccessToken.from_raw_data(json_body)
11
+ end
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,32 @@
1
+ module Gillbus::V2
2
+ module Responses
3
+ class Base
4
+ attr_reader :http_status
5
+ attr_reader :http_headers
6
+ attr_reader :http_body
7
+
8
+ def initialize(http_response)
9
+ @http_status = http_response.status
10
+ @http_headers = http_response.headers
11
+ @http_body = http_response.body
12
+ end
13
+
14
+ def json_body
15
+ return @json_body if defined?(@json_body)
16
+ @json_body = JSON.parse(@http_body) rescue {}
17
+ end
18
+
19
+ def success?
20
+ http_status == 200
21
+ end
22
+
23
+ def error_code
24
+ json_body["status"] unless success?
25
+ end
26
+
27
+ def error_message
28
+ json_body["message"] unless success?
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,21 @@
1
+ module Gillbus::V2
2
+ class Structs::AccessToken < Structs::Base
3
+ field :access_token, :string
4
+ field :token_type, :string, default: "Bearer"
5
+ field :expires_in, :integer
6
+ field :expires_on, :date_time_from_timestamp
7
+
8
+ def self.from_token_string(token)
9
+ raw_data = { "access_token" => token }
10
+ from_raw_data(raw_data)
11
+ end
12
+
13
+ def expired?
14
+ !expires_on.nil? && expires_on <= DateTime.now.new_offset(0)
15
+ end
16
+
17
+ def to_s
18
+ access_token
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,29 @@
1
+ module Gillbus::V2
2
+ module Structs
3
+ class Base
4
+ attr_reader :raw_data
5
+
6
+ def initialize(raw_data:, **fields)
7
+ @raw_data = raw_data
8
+ fields.each do |field_name, field_value|
9
+ instance_variable_set(:"@#{field_name}", field_value)
10
+ end
11
+ end
12
+
13
+ def self.field(name, type, default: nil)
14
+ attr_reader name
15
+ @fields_settings ||= []
16
+ @fields_settings << {
17
+ name: name,
18
+ type: type,
19
+ default: default,
20
+ }
21
+ end
22
+
23
+ def self.from_raw_data(raw_data)
24
+ fields = Parser.new.parse_fields(raw_data, @fields_settings)
25
+ new(raw_data: raw_data, **fields)
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,5 @@
1
+ module Gillbus
2
+ module V2
3
+ VERSION = "0.1.1"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,160 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gillbus-v2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Roman Khrebtov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-03-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: timecop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Ruby wrapper for Gillbus GDS API v2
112
+ email:
113
+ - khrebtov.dev@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".travis.yml"
120
+ - CODE_OF_CONDUCT.md
121
+ - Gemfile
122
+ - LICENSE.txt
123
+ - README.md
124
+ - Rakefile
125
+ - bin/console
126
+ - bin/setup
127
+ - gillbus-v2.gemspec
128
+ - lib/gillbus/v2.rb
129
+ - lib/gillbus/v2/client.rb
130
+ - lib/gillbus/v2/errors.rb
131
+ - lib/gillbus/v2/parser.rb
132
+ - lib/gillbus/v2/responses/authenticate.rb
133
+ - lib/gillbus/v2/responses/base.rb
134
+ - lib/gillbus/v2/structs/access_token.rb
135
+ - lib/gillbus/v2/structs/base.rb
136
+ - lib/gillbus/v2/version.rb
137
+ homepage: https://github.com/busfor/gillbus-v2-ruby
138
+ licenses:
139
+ - MIT
140
+ metadata: {}
141
+ post_install_message:
142
+ rdoc_options: []
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubygems_version: 3.0.3
157
+ signing_key:
158
+ specification_version: 4
159
+ summary: Ruby wrapper for Gillbus GDS API v2
160
+ test_files: []