rentlinx 0.10.0 → 0.10.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a8545037d906a8212ef5ccbe31a72fa84feee43
|
4
|
+
data.tar.gz: 3cb24db83cb2c45c76779a7cbde061eb03cb97b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f48136efc044933ac871698cc63e14d4e996232828ef874acd5dcca5d73550e6048cb41dc6df5e6ff9ff02c9f972a4f8f3749f81f341469f6b895158c0842bc5
|
7
|
+
data.tar.gz: 730e04ed068bcc7c406208cf89bb86ab724d395a129d8adf42038a11cad90e64d3554a3dee0748c89f042a6601c277907a373cc4b9c9352bf85e812537bb3021
|
data/lib/rentlinx/client.rb
CHANGED
@@ -9,6 +9,7 @@ require 'rentlinx/modules/photo_client_methods'
|
|
9
9
|
require 'rentlinx/modules/amenity_client_methods'
|
10
10
|
require 'rentlinx/modules/link_client_methods'
|
11
11
|
require 'rentlinx/modules/lead_client_methods'
|
12
|
+
require 'rentlinx/modules/websites_client_methods'
|
12
13
|
|
13
14
|
module Rentlinx
|
14
15
|
# This class and its included modules encapsulate all
|
@@ -24,6 +25,7 @@ module Rentlinx
|
|
24
25
|
include Rentlinx::AmenityClientMethods
|
25
26
|
include Rentlinx::LinkClientMethods
|
26
27
|
include Rentlinx::LeadClientMethods
|
28
|
+
include Rentlinx::WebsitesClientMethods
|
27
29
|
|
28
30
|
# Returns a new instance of client. Avoid using.
|
29
31
|
#
|
@@ -58,6 +58,14 @@ module Rentlinx
|
|
58
58
|
get_from_id(:property, id)
|
59
59
|
end
|
60
60
|
|
61
|
+
# Asks rentlinx for a list of places where the property is posted
|
62
|
+
#
|
63
|
+
# @param id [String] the rentlinx id of the property
|
64
|
+
# @return a list of hashes
|
65
|
+
def self.websites(id)
|
66
|
+
Rentlinx.client.get_websites(id)
|
67
|
+
end
|
68
|
+
|
61
69
|
include Rentlinx::Photoable
|
62
70
|
# For internal use.
|
63
71
|
def photo_class
|
data/lib/rentlinx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rentlinx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AppFolio, Inc.
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/rentlinx/modules/photoable.rb
|
86
86
|
- lib/rentlinx/modules/property_client_methods.rb
|
87
87
|
- lib/rentlinx/modules/unit_client_methods.rb
|
88
|
+
- lib/rentlinx/modules/websites_client_methods.rb
|
88
89
|
- lib/rentlinx/validators/address_validator.rb
|
89
90
|
- lib/rentlinx/validators/amount_validator.rb
|
90
91
|
- lib/rentlinx/validators/attribute_processor_service.rb
|
@@ -115,8 +116,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
116
|
version: '0'
|
116
117
|
requirements: []
|
117
118
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.4.3
|
119
120
|
signing_key:
|
120
121
|
specification_version: 4
|
121
122
|
summary: API Wrapper for the Rentlinx API
|
122
123
|
test_files: []
|
124
|
+
has_rdoc:
|