yield_star_client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
ADDED
data/lib/yield_star_client.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
$:.unshift(File.expand_path('yield_star_client',File.dirname(__FILE__)))
|
2
|
-
|
3
1
|
module YieldStarClient
|
4
2
|
autoload :Configlet, 'configlet'
|
5
3
|
extend Configlet
|
@@ -70,5 +68,5 @@ module YieldStarClient
|
|
70
68
|
VALID_CONFIG_OPTIONS.each { |opt| self.send("#{opt}=", nil) }
|
71
69
|
end
|
72
70
|
|
73
|
-
require 'client'
|
71
|
+
require 'yield_star_client/client'
|
74
72
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'savon'
|
2
2
|
|
3
|
-
require 'property_methods'
|
4
|
-
require 'floor_plan_methods'
|
5
|
-
require 'unit_methods'
|
6
|
-
require 'amenity_methods'
|
7
|
-
require 'rent_methods'
|
8
|
-
require 'lease_term_rent_methods'
|
3
|
+
require 'yield_star_client/property_methods'
|
4
|
+
require 'yield_star_client/floor_plan_methods'
|
5
|
+
require 'yield_star_client/unit_methods'
|
6
|
+
require 'yield_star_client/amenity_methods'
|
7
|
+
require 'yield_star_client/rent_methods'
|
8
|
+
require 'yield_star_client/lease_term_rent_methods'
|
9
9
|
|
10
|
-
require 'errors'
|
10
|
+
require 'yield_star_client/errors'
|
11
11
|
|
12
12
|
module YieldStarClient
|
13
13
|
# YieldStarClient::Client is the main object for connecting to the YieldStar AppExchange service.
|
@@ -1,12 +1,11 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
-
require 'validations'
|
3
2
|
|
4
3
|
describe "validations" do
|
5
4
|
subject { validator }
|
6
5
|
let(:validator) { Class.new { extend YieldStarClient::Validations } }
|
7
6
|
|
8
7
|
it { should respond_to(:validate_required) }
|
9
|
-
|
8
|
+
|
10
9
|
describe "#validate_client_name!" do
|
11
10
|
subject { validator.validate_client_name!(client_name) }
|
12
11
|
it_should_behave_like "a client_name validator"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yield_star_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- G5
|
@@ -184,6 +184,7 @@ files:
|
|
184
184
|
- .gitignore
|
185
185
|
- .rspec
|
186
186
|
- .rvmrc
|
187
|
+
- CHANGELOG.md
|
187
188
|
- Gemfile
|
188
189
|
- README.md
|
189
190
|
- Rakefile
|