yield_star_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/.rspec +2 -0
- data/.rvmrc +3 -0
- data/Gemfile +4 -0
- data/README.md +38 -0
- data/Rakefile +17 -0
- data/lib/yield_star_client/amenity_methods.rb +77 -0
- data/lib/yield_star_client/client.rb +84 -0
- data/lib/yield_star_client/errors.rb +52 -0
- data/lib/yield_star_client/floor_plan_methods.rb +78 -0
- data/lib/yield_star_client/lease_term_rent_methods.rb +185 -0
- data/lib/yield_star_client/property_methods.rb +138 -0
- data/lib/yield_star_client/rent_methods.rb +179 -0
- data/lib/yield_star_client/unit_methods.rb +95 -0
- data/lib/yield_star_client/validations.rb +18 -0
- data/lib/yield_star_client/version.rb +3 -0
- data/lib/yield_star_client.rb +74 -0
- data/spec/fixtures/faults/authentication_fault.xml +15 -0
- data/spec/fixtures/faults/generic_fault.xml +9 -0
- data/spec/fixtures/faults/internal_error_fault.xml +15 -0
- data/spec/fixtures/faults/operation_fault.xml +15 -0
- data/spec/fixtures/get_available_units/multiple_floor_plans.xml +53 -0
- data/spec/fixtures/get_available_units/no_floor_plans.xml +11 -0
- data/spec/fixtures/get_available_units/single_floor_plan.xml +28 -0
- data/spec/fixtures/get_floor_plan/full_floor_plan.xml +19 -0
- data/spec/fixtures/get_floor_plan/simple_floor_plan.xml +14 -0
- data/spec/fixtures/get_floor_plan_amenities/multiple_amenities.xml +19 -0
- data/spec/fixtures/get_floor_plan_amenities/no_amenities.xml +10 -0
- data/spec/fixtures/get_floor_plan_amenities/single_amenity.xml +15 -0
- data/spec/fixtures/get_floor_plans/multiple_floor_plans.xml +28 -0
- data/spec/fixtures/get_floor_plans/no_floor_plan.xml +10 -0
- data/spec/fixtures/get_floor_plans/single_floor_plan.xml +15 -0
- data/spec/fixtures/get_lease_term_rent/multiple_rates.xml +41 -0
- data/spec/fixtures/get_lease_term_rent/no_rates.xml +13 -0
- data/spec/fixtures/get_lease_term_rent/single_rate.xml +21 -0
- data/spec/fixtures/get_lease_term_rent_plus/multiple_rates.xml +43 -0
- data/spec/fixtures/get_lease_term_rent_plus/no_rates.xml +14 -0
- data/spec/fixtures/get_lease_term_rent_plus/single_rate.xml +22 -0
- data/spec/fixtures/get_properties/multiple_properties.xml +38 -0
- data/spec/fixtures/get_properties/no_property.xml +10 -0
- data/spec/fixtures/get_properties/single_property.xml +14 -0
- data/spec/fixtures/get_property/full_property.xml +25 -0
- data/spec/fixtures/get_property/simple_property.xml +14 -0
- data/spec/fixtures/get_property_parameters/full_parameters.xml +38 -0
- data/spec/fixtures/get_property_parameters/no_parameters.xml +10 -0
- data/spec/fixtures/get_property_parameters/simple_parameters.xml +14 -0
- data/spec/fixtures/get_renewal_lease_term_rent/multiple_rates.xml +28 -0
- data/spec/fixtures/get_renewal_lease_term_rent/no_rates.xml +10 -0
- data/spec/fixtures/get_renewal_lease_term_rent/single_rate.xml +21 -0
- data/spec/fixtures/get_rent_summary/multiple_summaries.xml +41 -0
- data/spec/fixtures/get_rent_summary/no_summaries.xml +11 -0
- data/spec/fixtures/get_rent_summary/single_summary.xml +24 -0
- data/spec/fixtures/get_unit/full_unit.xml +22 -0
- data/spec/fixtures/get_unit/simple_unit.xml +16 -0
- data/spec/fixtures/get_unit_amenities/multiple_amenities.xml +20 -0
- data/spec/fixtures/get_unit_amenities/no_amenities.xml +11 -0
- data/spec/fixtures/get_unit_amenities/single_amenity.xml +15 -0
- data/spec/fixtures/get_units/multiple_units.xml +32 -0
- data/spec/fixtures/get_units/no_units.xml +10 -0
- data/spec/fixtures/get_units/single_unit.xml +16 -0
- data/spec/spec_helper.rb +16 -0
- data/spec/support/fault_handler_shared_examples.rb +68 -0
- data/spec/support/validator_shared_examples.rb +79 -0
- data/spec/yield_star_client/amenity_methods_spec.rb +165 -0
- data/spec/yield_star_client/client_spec.rb +150 -0
- data/spec/yield_star_client/errors_spec.rb +93 -0
- data/spec/yield_star_client/floor_plan_methods_spec.rb +126 -0
- data/spec/yield_star_client/lease_term_rent_methods_spec.rb +391 -0
- data/spec/yield_star_client/property_methods_spec.rb +189 -0
- data/spec/yield_star_client/rent_methods_spec.rb +271 -0
- data/spec/yield_star_client/unit_methods_spec.rb +168 -0
- data/spec/yield_star_client/validations_spec.rb +19 -0
- data/spec/yield_star_client_spec.rb +89 -0
- data/yield_star_client.gemspec +34 -0
- metadata +348 -0
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe YieldStarClient do
|
4
|
+
let(:default_endpoint) { YieldStarClient::DEFAULT_ENDPOINT }
|
5
|
+
let(:default_namespace) { YieldStarClient::DEFAULT_NAMESPACE }
|
6
|
+
|
7
|
+
let(:endpoint) { 'http://configured.endpoint.com' }
|
8
|
+
let(:username) { 'configured user' }
|
9
|
+
let(:password) { 'configured password' }
|
10
|
+
let(:namespace) { 'http://configured.namespace.com' }
|
11
|
+
|
12
|
+
after { YieldStarClient.reset }
|
13
|
+
|
14
|
+
it "should have a version" do
|
15
|
+
subject::VERSION.should be
|
16
|
+
end
|
17
|
+
|
18
|
+
context "with default configuration" do
|
19
|
+
its(:endpoint) { should == default_endpoint }
|
20
|
+
its(:username) { should_not be }
|
21
|
+
its(:password) { should_not be }
|
22
|
+
its(:namespace) { should == default_namespace }
|
23
|
+
end
|
24
|
+
|
25
|
+
describe ".configure" do
|
26
|
+
subject { YieldStarClient.configure(&config_block) }
|
27
|
+
|
28
|
+
context "with full configuration" do
|
29
|
+
let(:config_block) do
|
30
|
+
lambda do |config|
|
31
|
+
config.endpoint = endpoint
|
32
|
+
config.username = username
|
33
|
+
config.password = password
|
34
|
+
config.namespace = namespace
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
it { should == YieldStarClient }
|
39
|
+
its(:endpoint) { should == endpoint }
|
40
|
+
its(:username) { should == username }
|
41
|
+
its(:password) { should == password }
|
42
|
+
its(:namespace) { should == namespace }
|
43
|
+
end
|
44
|
+
|
45
|
+
context "with partial configuration" do
|
46
|
+
let(:config_block) do
|
47
|
+
lambda do |config|
|
48
|
+
config.username = username
|
49
|
+
config.password = password
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
it { should == YieldStarClient }
|
54
|
+
its(:endpoint) { should == default_endpoint }
|
55
|
+
its(:username) { should == username }
|
56
|
+
its(:password) { should == password }
|
57
|
+
its(:namespace) { should == default_namespace }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
describe ".reset" do
|
62
|
+
before do
|
63
|
+
YieldStarClient.configure do |config|
|
64
|
+
config.endpoint = endpoint
|
65
|
+
config.username = username
|
66
|
+
config.password = password
|
67
|
+
config.namespace = namespace
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
subject { YieldStarClient.reset }
|
72
|
+
|
73
|
+
it "should change the endpoint to the default" do
|
74
|
+
expect { subject }.to change{YieldStarClient.endpoint}.from(endpoint).to(default_endpoint)
|
75
|
+
end
|
76
|
+
|
77
|
+
it "should clear the username" do
|
78
|
+
expect { subject }.to change{YieldStarClient.username}.from(username).to(nil)
|
79
|
+
end
|
80
|
+
|
81
|
+
it "should clear the password" do
|
82
|
+
expect { subject }.to change{YieldStarClient.password}.from(password).to(nil)
|
83
|
+
end
|
84
|
+
|
85
|
+
it "should change the namespace to the default" do
|
86
|
+
expect { subject }.to change{YieldStarClient.namespace}.from(namespace).to(default_namespace)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "yield_star_client/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "yield_star_client"
|
7
|
+
s.version = YieldStarClient::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["G5"]
|
10
|
+
s.email = ["engineering@g5platform.com"]
|
11
|
+
s.homepage = "http://rubygems.org/gems/yield_star_client"
|
12
|
+
s.summary = %q{Adapter for YieldStar AppExchange}
|
13
|
+
s.description = %q{A simple wrapper around a SOAP client for the YieldStar AppExchange web service.}
|
14
|
+
|
15
|
+
s.rubyforge_project = "yield_star_client"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency('configlet', '~> 2.1')
|
23
|
+
s.add_dependency('httpi', '0.7.9') # httpi 0.9.0 broke savon - see http://github.com/rubiii/httpi/issues#issue/25
|
24
|
+
s.add_dependency('savon', '~> 0.8')
|
25
|
+
s.add_dependency('modelish', '>= 0.1.2')
|
26
|
+
|
27
|
+
s.add_development_dependency('rspec',"~> 2.4")
|
28
|
+
s.add_development_dependency('webmock', '~> 1.6')
|
29
|
+
s.add_development_dependency('yard', '~> 0.6')
|
30
|
+
s.add_development_dependency('bluecloth','~> 2.0.9')
|
31
|
+
s.add_development_dependency('savon_spec','~> 0.1')
|
32
|
+
s.add_development_dependency('autotest', '~> 4.4')
|
33
|
+
s.has_rdoc=true
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,348 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yield_star_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- G5
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-06-14 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: configlet
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 1
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 1
|
33
|
+
version: "2.1"
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: httpi
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - "="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 17
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 7
|
48
|
+
- 9
|
49
|
+
version: 0.7.9
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: savon
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 27
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 8
|
64
|
+
version: "0.8"
|
65
|
+
type: :runtime
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: modelish
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 31
|
76
|
+
segments:
|
77
|
+
- 0
|
78
|
+
- 1
|
79
|
+
- 2
|
80
|
+
version: 0.1.2
|
81
|
+
type: :runtime
|
82
|
+
version_requirements: *id004
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
prerelease: false
|
86
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ~>
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 11
|
92
|
+
segments:
|
93
|
+
- 2
|
94
|
+
- 4
|
95
|
+
version: "2.4"
|
96
|
+
type: :development
|
97
|
+
version_requirements: *id005
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: webmock
|
100
|
+
prerelease: false
|
101
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
102
|
+
none: false
|
103
|
+
requirements:
|
104
|
+
- - ~>
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
hash: 3
|
107
|
+
segments:
|
108
|
+
- 1
|
109
|
+
- 6
|
110
|
+
version: "1.6"
|
111
|
+
type: :development
|
112
|
+
version_requirements: *id006
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: yard
|
115
|
+
prerelease: false
|
116
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
118
|
+
requirements:
|
119
|
+
- - ~>
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
hash: 7
|
122
|
+
segments:
|
123
|
+
- 0
|
124
|
+
- 6
|
125
|
+
version: "0.6"
|
126
|
+
type: :development
|
127
|
+
version_requirements: *id007
|
128
|
+
- !ruby/object:Gem::Dependency
|
129
|
+
name: bluecloth
|
130
|
+
prerelease: false
|
131
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ~>
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
hash: 29
|
137
|
+
segments:
|
138
|
+
- 2
|
139
|
+
- 0
|
140
|
+
- 9
|
141
|
+
version: 2.0.9
|
142
|
+
type: :development
|
143
|
+
version_requirements: *id008
|
144
|
+
- !ruby/object:Gem::Dependency
|
145
|
+
name: savon_spec
|
146
|
+
prerelease: false
|
147
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
hash: 9
|
153
|
+
segments:
|
154
|
+
- 0
|
155
|
+
- 1
|
156
|
+
version: "0.1"
|
157
|
+
type: :development
|
158
|
+
version_requirements: *id009
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: autotest
|
161
|
+
prerelease: false
|
162
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
hash: 19
|
168
|
+
segments:
|
169
|
+
- 4
|
170
|
+
- 4
|
171
|
+
version: "4.4"
|
172
|
+
type: :development
|
173
|
+
version_requirements: *id010
|
174
|
+
description: A simple wrapper around a SOAP client for the YieldStar AppExchange web service.
|
175
|
+
email:
|
176
|
+
- engineering@g5platform.com
|
177
|
+
executables: []
|
178
|
+
|
179
|
+
extensions: []
|
180
|
+
|
181
|
+
extra_rdoc_files: []
|
182
|
+
|
183
|
+
files:
|
184
|
+
- .gitignore
|
185
|
+
- .rspec
|
186
|
+
- .rvmrc
|
187
|
+
- Gemfile
|
188
|
+
- README.md
|
189
|
+
- Rakefile
|
190
|
+
- lib/yield_star_client.rb
|
191
|
+
- lib/yield_star_client/amenity_methods.rb
|
192
|
+
- lib/yield_star_client/client.rb
|
193
|
+
- lib/yield_star_client/errors.rb
|
194
|
+
- lib/yield_star_client/floor_plan_methods.rb
|
195
|
+
- lib/yield_star_client/lease_term_rent_methods.rb
|
196
|
+
- lib/yield_star_client/property_methods.rb
|
197
|
+
- lib/yield_star_client/rent_methods.rb
|
198
|
+
- lib/yield_star_client/unit_methods.rb
|
199
|
+
- lib/yield_star_client/validations.rb
|
200
|
+
- lib/yield_star_client/version.rb
|
201
|
+
- spec/fixtures/faults/authentication_fault.xml
|
202
|
+
- spec/fixtures/faults/generic_fault.xml
|
203
|
+
- spec/fixtures/faults/internal_error_fault.xml
|
204
|
+
- spec/fixtures/faults/operation_fault.xml
|
205
|
+
- spec/fixtures/get_available_units/multiple_floor_plans.xml
|
206
|
+
- spec/fixtures/get_available_units/no_floor_plans.xml
|
207
|
+
- spec/fixtures/get_available_units/single_floor_plan.xml
|
208
|
+
- spec/fixtures/get_floor_plan/full_floor_plan.xml
|
209
|
+
- spec/fixtures/get_floor_plan/simple_floor_plan.xml
|
210
|
+
- spec/fixtures/get_floor_plan_amenities/multiple_amenities.xml
|
211
|
+
- spec/fixtures/get_floor_plan_amenities/no_amenities.xml
|
212
|
+
- spec/fixtures/get_floor_plan_amenities/single_amenity.xml
|
213
|
+
- spec/fixtures/get_floor_plans/multiple_floor_plans.xml
|
214
|
+
- spec/fixtures/get_floor_plans/no_floor_plan.xml
|
215
|
+
- spec/fixtures/get_floor_plans/single_floor_plan.xml
|
216
|
+
- spec/fixtures/get_lease_term_rent/multiple_rates.xml
|
217
|
+
- spec/fixtures/get_lease_term_rent/no_rates.xml
|
218
|
+
- spec/fixtures/get_lease_term_rent/single_rate.xml
|
219
|
+
- spec/fixtures/get_lease_term_rent_plus/multiple_rates.xml
|
220
|
+
- spec/fixtures/get_lease_term_rent_plus/no_rates.xml
|
221
|
+
- spec/fixtures/get_lease_term_rent_plus/single_rate.xml
|
222
|
+
- spec/fixtures/get_properties/multiple_properties.xml
|
223
|
+
- spec/fixtures/get_properties/no_property.xml
|
224
|
+
- spec/fixtures/get_properties/single_property.xml
|
225
|
+
- spec/fixtures/get_property/full_property.xml
|
226
|
+
- spec/fixtures/get_property/simple_property.xml
|
227
|
+
- spec/fixtures/get_property_parameters/full_parameters.xml
|
228
|
+
- spec/fixtures/get_property_parameters/no_parameters.xml
|
229
|
+
- spec/fixtures/get_property_parameters/simple_parameters.xml
|
230
|
+
- spec/fixtures/get_renewal_lease_term_rent/multiple_rates.xml
|
231
|
+
- spec/fixtures/get_renewal_lease_term_rent/no_rates.xml
|
232
|
+
- spec/fixtures/get_renewal_lease_term_rent/single_rate.xml
|
233
|
+
- spec/fixtures/get_rent_summary/multiple_summaries.xml
|
234
|
+
- spec/fixtures/get_rent_summary/no_summaries.xml
|
235
|
+
- spec/fixtures/get_rent_summary/single_summary.xml
|
236
|
+
- spec/fixtures/get_unit/full_unit.xml
|
237
|
+
- spec/fixtures/get_unit/simple_unit.xml
|
238
|
+
- spec/fixtures/get_unit_amenities/multiple_amenities.xml
|
239
|
+
- spec/fixtures/get_unit_amenities/no_amenities.xml
|
240
|
+
- spec/fixtures/get_unit_amenities/single_amenity.xml
|
241
|
+
- spec/fixtures/get_units/multiple_units.xml
|
242
|
+
- spec/fixtures/get_units/no_units.xml
|
243
|
+
- spec/fixtures/get_units/single_unit.xml
|
244
|
+
- spec/spec_helper.rb
|
245
|
+
- spec/support/fault_handler_shared_examples.rb
|
246
|
+
- spec/support/validator_shared_examples.rb
|
247
|
+
- spec/yield_star_client/amenity_methods_spec.rb
|
248
|
+
- spec/yield_star_client/client_spec.rb
|
249
|
+
- spec/yield_star_client/errors_spec.rb
|
250
|
+
- spec/yield_star_client/floor_plan_methods_spec.rb
|
251
|
+
- spec/yield_star_client/lease_term_rent_methods_spec.rb
|
252
|
+
- spec/yield_star_client/property_methods_spec.rb
|
253
|
+
- spec/yield_star_client/rent_methods_spec.rb
|
254
|
+
- spec/yield_star_client/unit_methods_spec.rb
|
255
|
+
- spec/yield_star_client/validations_spec.rb
|
256
|
+
- spec/yield_star_client_spec.rb
|
257
|
+
- yield_star_client.gemspec
|
258
|
+
has_rdoc: true
|
259
|
+
homepage: http://rubygems.org/gems/yield_star_client
|
260
|
+
licenses: []
|
261
|
+
|
262
|
+
post_install_message:
|
263
|
+
rdoc_options: []
|
264
|
+
|
265
|
+
require_paths:
|
266
|
+
- lib
|
267
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
268
|
+
none: false
|
269
|
+
requirements:
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
hash: 3
|
273
|
+
segments:
|
274
|
+
- 0
|
275
|
+
version: "0"
|
276
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
|
+
none: false
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
hash: 3
|
282
|
+
segments:
|
283
|
+
- 0
|
284
|
+
version: "0"
|
285
|
+
requirements: []
|
286
|
+
|
287
|
+
rubyforge_project: yield_star_client
|
288
|
+
rubygems_version: 1.6.2
|
289
|
+
signing_key:
|
290
|
+
specification_version: 3
|
291
|
+
summary: Adapter for YieldStar AppExchange
|
292
|
+
test_files:
|
293
|
+
- spec/fixtures/faults/authentication_fault.xml
|
294
|
+
- spec/fixtures/faults/generic_fault.xml
|
295
|
+
- spec/fixtures/faults/internal_error_fault.xml
|
296
|
+
- spec/fixtures/faults/operation_fault.xml
|
297
|
+
- spec/fixtures/get_available_units/multiple_floor_plans.xml
|
298
|
+
- spec/fixtures/get_available_units/no_floor_plans.xml
|
299
|
+
- spec/fixtures/get_available_units/single_floor_plan.xml
|
300
|
+
- spec/fixtures/get_floor_plan/full_floor_plan.xml
|
301
|
+
- spec/fixtures/get_floor_plan/simple_floor_plan.xml
|
302
|
+
- spec/fixtures/get_floor_plan_amenities/multiple_amenities.xml
|
303
|
+
- spec/fixtures/get_floor_plan_amenities/no_amenities.xml
|
304
|
+
- spec/fixtures/get_floor_plan_amenities/single_amenity.xml
|
305
|
+
- spec/fixtures/get_floor_plans/multiple_floor_plans.xml
|
306
|
+
- spec/fixtures/get_floor_plans/no_floor_plan.xml
|
307
|
+
- spec/fixtures/get_floor_plans/single_floor_plan.xml
|
308
|
+
- spec/fixtures/get_lease_term_rent/multiple_rates.xml
|
309
|
+
- spec/fixtures/get_lease_term_rent/no_rates.xml
|
310
|
+
- spec/fixtures/get_lease_term_rent/single_rate.xml
|
311
|
+
- spec/fixtures/get_lease_term_rent_plus/multiple_rates.xml
|
312
|
+
- spec/fixtures/get_lease_term_rent_plus/no_rates.xml
|
313
|
+
- spec/fixtures/get_lease_term_rent_plus/single_rate.xml
|
314
|
+
- spec/fixtures/get_properties/multiple_properties.xml
|
315
|
+
- spec/fixtures/get_properties/no_property.xml
|
316
|
+
- spec/fixtures/get_properties/single_property.xml
|
317
|
+
- spec/fixtures/get_property/full_property.xml
|
318
|
+
- spec/fixtures/get_property/simple_property.xml
|
319
|
+
- spec/fixtures/get_property_parameters/full_parameters.xml
|
320
|
+
- spec/fixtures/get_property_parameters/no_parameters.xml
|
321
|
+
- spec/fixtures/get_property_parameters/simple_parameters.xml
|
322
|
+
- spec/fixtures/get_renewal_lease_term_rent/multiple_rates.xml
|
323
|
+
- spec/fixtures/get_renewal_lease_term_rent/no_rates.xml
|
324
|
+
- spec/fixtures/get_renewal_lease_term_rent/single_rate.xml
|
325
|
+
- spec/fixtures/get_rent_summary/multiple_summaries.xml
|
326
|
+
- spec/fixtures/get_rent_summary/no_summaries.xml
|
327
|
+
- spec/fixtures/get_rent_summary/single_summary.xml
|
328
|
+
- spec/fixtures/get_unit/full_unit.xml
|
329
|
+
- spec/fixtures/get_unit/simple_unit.xml
|
330
|
+
- spec/fixtures/get_unit_amenities/multiple_amenities.xml
|
331
|
+
- spec/fixtures/get_unit_amenities/no_amenities.xml
|
332
|
+
- spec/fixtures/get_unit_amenities/single_amenity.xml
|
333
|
+
- spec/fixtures/get_units/multiple_units.xml
|
334
|
+
- spec/fixtures/get_units/no_units.xml
|
335
|
+
- spec/fixtures/get_units/single_unit.xml
|
336
|
+
- spec/spec_helper.rb
|
337
|
+
- spec/support/fault_handler_shared_examples.rb
|
338
|
+
- spec/support/validator_shared_examples.rb
|
339
|
+
- spec/yield_star_client/amenity_methods_spec.rb
|
340
|
+
- spec/yield_star_client/client_spec.rb
|
341
|
+
- spec/yield_star_client/errors_spec.rb
|
342
|
+
- spec/yield_star_client/floor_plan_methods_spec.rb
|
343
|
+
- spec/yield_star_client/lease_term_rent_methods_spec.rb
|
344
|
+
- spec/yield_star_client/property_methods_spec.rb
|
345
|
+
- spec/yield_star_client/rent_methods_spec.rb
|
346
|
+
- spec/yield_star_client/unit_methods_spec.rb
|
347
|
+
- spec/yield_star_client/validations_spec.rb
|
348
|
+
- spec/yield_star_client_spec.rb
|