yotpo-api 0.0.1.pre.beta
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 +7 -0
- data/lib/yotpo-api.rb +43 -0
- data/lib/yotpo-api/api/link_api.rb +83 -0
- data/lib/yotpo-api/api_client.rb +332 -0
- data/lib/yotpo-api/api_error.rb +36 -0
- data/lib/yotpo-api/configuration.rb +163 -0
- data/lib/yotpo-api/models/inline_response_200.rb +158 -0
- data/lib/yotpo-api/models/link_request.rb +181 -0
- data/lib/yotpo-api/models/link_response.rb +158 -0
- data/lib/yotpo-api/version.rb +15 -0
- data/spec/api/LinkApi_spec.rb +51 -0
- data/spec/models/InlineResponse200_spec.rb +46 -0
- data/spec/models/LinkRequest_spec.rb +66 -0
- data/spec/models/LinkResponse_spec.rb +46 -0
- data/yotpo-api.gemspec +32 -0
- metadata +242 -0
@@ -0,0 +1,158 @@
|
|
1
|
+
=begin
|
2
|
+
Yotpo API
|
3
|
+
|
4
|
+
Yotpo API Entry Point
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module YotpoApi
|
16
|
+
class LinkResponse
|
17
|
+
attr_accessor :code
|
18
|
+
|
19
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
20
|
+
def self.attribute_map
|
21
|
+
{
|
22
|
+
|
23
|
+
:'code' => :'code'
|
24
|
+
|
25
|
+
}
|
26
|
+
end
|
27
|
+
|
28
|
+
# Attribute type mapping.
|
29
|
+
def self.swagger_types
|
30
|
+
{
|
31
|
+
:'code' => :'String'
|
32
|
+
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
41
|
+
|
42
|
+
|
43
|
+
if attributes[:'code']
|
44
|
+
self.code = attributes[:'code']
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
# Check equality by comparing each attribute.
|
50
|
+
def ==(o)
|
51
|
+
return true if self.equal?(o)
|
52
|
+
self.class == o.class &&
|
53
|
+
code == o.code
|
54
|
+
end
|
55
|
+
|
56
|
+
# @see the `==` method
|
57
|
+
def eql?(o)
|
58
|
+
self == o
|
59
|
+
end
|
60
|
+
|
61
|
+
# Calculate hash code according to all attributes.
|
62
|
+
def hash
|
63
|
+
[code].hash
|
64
|
+
end
|
65
|
+
|
66
|
+
# build the object from hash
|
67
|
+
def build_from_hash(attributes)
|
68
|
+
return nil unless attributes.is_a?(Hash)
|
69
|
+
self.class.swagger_types.each_pair do |key, type|
|
70
|
+
if type =~ /^Array<(.*)>/i
|
71
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
72
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
|
73
|
+
else
|
74
|
+
#TODO show warning in debug mode
|
75
|
+
end
|
76
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
77
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
78
|
+
else
|
79
|
+
# data not found in attributes(hash), not an issue as the data can be optional
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
self
|
84
|
+
end
|
85
|
+
|
86
|
+
def _deserialize(type, value)
|
87
|
+
case type.to_sym
|
88
|
+
when :DateTime
|
89
|
+
DateTime.parse(value)
|
90
|
+
when :Date
|
91
|
+
Date.parse(value)
|
92
|
+
when :String
|
93
|
+
value.to_s
|
94
|
+
when :Integer
|
95
|
+
value.to_i
|
96
|
+
when :Float
|
97
|
+
value.to_f
|
98
|
+
when :BOOLEAN
|
99
|
+
if value.to_s =~ /^(true|t|yes|y|1)$/i
|
100
|
+
true
|
101
|
+
else
|
102
|
+
false
|
103
|
+
end
|
104
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
105
|
+
inner_type = Regexp.last_match[:inner_type]
|
106
|
+
value.map { |v| _deserialize(inner_type, v) }
|
107
|
+
when /\AHash<(?<k_type>.+), (?<v_type>.+)>\z/
|
108
|
+
k_type = Regexp.last_match[:k_type]
|
109
|
+
v_type = Regexp.last_match[:v_type]
|
110
|
+
{}.tap do |hash|
|
111
|
+
value.each do |k, v|
|
112
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
else # model
|
116
|
+
_model = YotpoApi.const_get(type).new
|
117
|
+
_model.build_from_hash(value)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
def to_s
|
122
|
+
to_hash.to_s
|
123
|
+
end
|
124
|
+
|
125
|
+
# to_body is an alias to to_body (backward compatibility))
|
126
|
+
def to_body
|
127
|
+
to_hash
|
128
|
+
end
|
129
|
+
|
130
|
+
# return the object in the form of hash
|
131
|
+
def to_hash
|
132
|
+
hash = {}
|
133
|
+
self.class.attribute_map.each_pair do |attr, param|
|
134
|
+
value = self.send(attr)
|
135
|
+
next if value.nil?
|
136
|
+
hash[param] = _to_hash(value)
|
137
|
+
end
|
138
|
+
hash
|
139
|
+
end
|
140
|
+
|
141
|
+
# Method to output non-array value in the form of hash
|
142
|
+
# For object, use to_hash. Otherwise, just return the value
|
143
|
+
def _to_hash(value)
|
144
|
+
if value.is_a?(Array)
|
145
|
+
value.compact.map{ |v| _to_hash(v) }
|
146
|
+
elsif value.is_a?(Hash)
|
147
|
+
{}.tap do |hash|
|
148
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
149
|
+
end
|
150
|
+
elsif value.respond_to? :to_hash
|
151
|
+
value.to_hash
|
152
|
+
else
|
153
|
+
value
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
end
|
158
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
=begin
|
2
|
+
Yotpo API
|
3
|
+
|
4
|
+
Yotpo API Entry Point
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for YotpoApi::LinkApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'LinkApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = YotpoApi::LinkApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of LinkApi' do
|
30
|
+
it 'should create an instact of LinkApi' do
|
31
|
+
@instance.should be_a(YotpoApi::LinkApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create_link
|
36
|
+
# Creates a new short url and returns it
|
37
|
+
# Creates a new short url and returns it
|
38
|
+
# @param body link request to create a short url
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [inline_response_200]
|
41
|
+
describe 'create_link test' do
|
42
|
+
it "should work" do
|
43
|
+
# assertion here
|
44
|
+
# should be_a()
|
45
|
+
# should be_nil
|
46
|
+
# should ==
|
47
|
+
# should_not ==
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
Yotpo API
|
3
|
+
|
4
|
+
Yotpo API Entry Point
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for YotpoApi::
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse200' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = YotpoApi::InlineResponse200.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse200' do
|
31
|
+
it 'should create an instact of InlineResponse200' do
|
32
|
+
@instance.should be_a(YotpoApi::InlineResponse200)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "response"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
Yotpo API
|
3
|
+
|
4
|
+
Yotpo API Entry Point
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for YotpoApi::
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LinkRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = YotpoApi::LinkRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LinkRequest' do
|
31
|
+
it 'should create an instact of LinkRequest' do
|
32
|
+
@instance.should be_a(YotpoApi::LinkRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "app_key"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "url"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here
|
48
|
+
# should be_a()
|
49
|
+
# should be_nil
|
50
|
+
# should ==
|
51
|
+
# should_not ==
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe 'test attribute "reference_code"' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here
|
58
|
+
# should be_a()
|
59
|
+
# should be_nil
|
60
|
+
# should ==
|
61
|
+
# should_not ==
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
=begin
|
2
|
+
Yotpo API
|
3
|
+
|
4
|
+
Yotpo API Entry Point
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.0.1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for YotpoApi::
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LinkResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = YotpoApi::LinkResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LinkResponse' do
|
31
|
+
it 'should create an instact of LinkResponse' do
|
32
|
+
@instance.should be_a(YotpoApi::LinkResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "code"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
|
data/yotpo-api.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "yotpo-api/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "yotpo-api"
|
7
|
+
s.version = YotpoApi::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Vladislav Shub"]
|
10
|
+
s.email = ["vlad@yotpo.com"]
|
11
|
+
s.homepage = "https://www.yotpo.com"
|
12
|
+
s.summary = "Yotpo API integration gem"
|
13
|
+
s.description = "Yotpo API integration gem"
|
14
|
+
s.license = "MIT"
|
15
|
+
|
16
|
+
|
17
|
+
s.add_runtime_dependency 'typhoeus', '~> 0.2', '>= 0.2.1'
|
18
|
+
s.add_runtime_dependency 'json', '~> 1.4', '>= 1.4.6'
|
19
|
+
|
20
|
+
s.add_development_dependency 'rspec', '~> 3.2', '>= 3.2.0'
|
21
|
+
s.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
|
22
|
+
s.add_development_dependency 'webmock', '~> 1.6', '>= 1.6.2'
|
23
|
+
s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
|
24
|
+
s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
|
25
|
+
s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
|
26
|
+
s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.11'
|
27
|
+
|
28
|
+
s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? }
|
29
|
+
s.test_files = `find spec/*`.split("\n")
|
30
|
+
s.executables = []
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yotpo-api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre.beta
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vladislav Shub
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.2.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.2.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.4'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 1.4.6
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.4'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 1.4.6
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '3.2'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.2.0
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.2'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.2.0
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: vcr
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '2.9'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.9.3
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.9'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 2.9.3
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: webmock
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.6'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.6.2
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.6'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.6.2
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: autotest
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '4.4'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 4.4.6
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '4.4'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 4.4.6
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: autotest-rails-pure
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '4.1'
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 4.1.2
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '4.1'
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 4.1.2
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: autotest-growl
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.2'
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 0.2.16
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - "~>"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0.2'
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 0.2.16
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: autotest-fsevent
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.2'
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 0.2.11
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0.2'
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.2.11
|
193
|
+
description: Yotpo API integration gem
|
194
|
+
email:
|
195
|
+
- vlad@yotpo.com
|
196
|
+
executables: []
|
197
|
+
extensions: []
|
198
|
+
extra_rdoc_files: []
|
199
|
+
files:
|
200
|
+
- lib/yotpo-api.rb
|
201
|
+
- lib/yotpo-api/api/link_api.rb
|
202
|
+
- lib/yotpo-api/api_client.rb
|
203
|
+
- lib/yotpo-api/api_error.rb
|
204
|
+
- lib/yotpo-api/configuration.rb
|
205
|
+
- lib/yotpo-api/models/inline_response_200.rb
|
206
|
+
- lib/yotpo-api/models/link_request.rb
|
207
|
+
- lib/yotpo-api/models/link_response.rb
|
208
|
+
- lib/yotpo-api/version.rb
|
209
|
+
- spec/api/LinkApi_spec.rb
|
210
|
+
- spec/models/InlineResponse200_spec.rb
|
211
|
+
- spec/models/LinkRequest_spec.rb
|
212
|
+
- spec/models/LinkResponse_spec.rb
|
213
|
+
- yotpo-api.gemspec
|
214
|
+
homepage: https://www.yotpo.com
|
215
|
+
licenses:
|
216
|
+
- MIT
|
217
|
+
metadata: {}
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options: []
|
220
|
+
require_paths:
|
221
|
+
- lib
|
222
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
223
|
+
requirements:
|
224
|
+
- - ">="
|
225
|
+
- !ruby/object:Gem::Version
|
226
|
+
version: '0'
|
227
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: 1.3.1
|
232
|
+
requirements: []
|
233
|
+
rubyforge_project:
|
234
|
+
rubygems_version: 2.5.1
|
235
|
+
signing_key:
|
236
|
+
specification_version: 4
|
237
|
+
summary: Yotpo API integration gem
|
238
|
+
test_files:
|
239
|
+
- spec/api/LinkApi_spec.rb
|
240
|
+
- spec/models/InlineResponse200_spec.rb
|
241
|
+
- spec/models/LinkRequest_spec.rb
|
242
|
+
- spec/models/LinkResponse_spec.rb
|