extraspace 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d0f31dad347795d2fb0a8cbd14b3c6452fc8c8dfea0f9b66639bc4c1bf1c433
4
- data.tar.gz: 35cedca68983cab7e29c76abc7c8c83d617dad6c2ef881bbd13ecced436fd89d
3
+ metadata.gz: 5c85ab034de8c329973cfe53e470745608a52076d9dce4a037532dc8214f5913
4
+ data.tar.gz: fa535b917b40c8349b79683642ce5e367b0ea34c519fbfd16c094fba87025ebe
5
5
  SHA512:
6
- metadata.gz: e56ad3839e7a9f5a11b8298e7977c518590aade51b78a7248c201b03027b35b697ef792e311e76b797d1d6aa51d00e996d753651ff66e2fb5e00b74d2c8ab86c
7
- data.tar.gz: 5bb15f6c216c19d628f2179dd4dafe714804ee50d9142d72039d7fba0e68a5ad7ceaaa29e54259868a3ad0f53be9e0d9c677ce207ced6a5730471a2ac0439f13
6
+ metadata.gz: d243f120d52703c773053469004d735eb8deadd63f0706012f1b4e92abe2fc747db2010f8a99e561cce4336841b3e350ebe27376a2de1f037fce75d6da14935c
7
+ data.tar.gz: 21db75d1f583a0577bc4b62ea4465eca29e69185f668b254c5fb1ee19dc4215ebb77f2abdf3234820e06964b4bc1926255b74a36b7619017cf203ea0a68a8b89
@@ -26,9 +26,8 @@ module ExtraSpace
26
26
  # @param line1 [String]
27
27
  # @param line2 [String]
28
28
  # @param city [String]
29
- # @param state_abbreviation [String]
30
- # @param state_name [String]
31
- # @param postal_code [String]
29
+ # @param state [String]
30
+ # @param zip [String]
32
31
  def initialize(line1:, line2:, city:, state:, zip:)
33
32
  @line1 = line1
34
33
  @line2 = line2
@@ -37,6 +36,7 @@ module ExtraSpace
37
36
  @zip = zip
38
37
  end
39
38
 
39
+ # @return [String]
40
40
  def inspect
41
41
  props = [
42
42
  "line1=#{@line1.inspect}",
@@ -7,7 +7,7 @@ module ExtraSpace
7
7
  # @return [String]
8
8
  attr_accessor :available
9
9
 
10
- # @param uid [String]
10
+ # @param available [String]
11
11
  def initialize(available:)
12
12
  @available = available
13
13
  end
@@ -22,7 +22,7 @@ module ExtraSpace
22
22
 
23
23
  # @param data [Hash]
24
24
  #
25
- # @return [Address]
25
+ # @return [Availability]
26
26
  def self.parse(data:)
27
27
  new(available: data['available'])
28
28
  end
@@ -19,7 +19,10 @@ module ExtraSpace
19
19
  # @return [String]
20
20
  attr_accessor :display
21
21
 
22
- # @param uid [String]
22
+ # @param depth [Integer]
23
+ # @param width [Integer]
24
+ # @param sqft [Integer]
25
+ # @param display [String]
23
26
  def initialize(depth:, width:, sqft:, display:)
24
27
  @depth = depth
25
28
  @width = width
@@ -40,7 +43,7 @@ module ExtraSpace
40
43
 
41
44
  # @param data [Hash]
42
45
  #
43
- # @return [Address]
46
+ # @return [Dimensions]
44
47
  def self.parse(data:)
45
48
  new(depth: data['depth'], width: data['width'], sqft: data['squareFoot'], display: data['display'])
46
49
  end
@@ -24,6 +24,7 @@ module ExtraSpace
24
24
  @prices = prices
25
25
  end
26
26
 
27
+ # @return [String]
27
28
  def inspect
28
29
  props = [
29
30
  "address=#{@address.inspect}",
@@ -43,7 +43,7 @@ module ExtraSpace
43
43
 
44
44
  # @param data [Hash]
45
45
  #
46
- # @return [Address]
46
+ # @return [Price]
47
47
  def self.parse(data:)
48
48
  availability = Availability.parse(data: data['availability'])
49
49
  dimensions = Dimensions.parse(data: data['dimensions'])
@@ -15,7 +15,9 @@ module ExtraSpace
15
15
  # @return [Integer]
16
16
  attr_accessor :web
17
17
 
18
- # @param uid [String]
18
+ # @param nsc [Integer]
19
+ # @param street [Integer]
20
+ # @param web [Integer]
19
21
  def initialize(nsc:, street:, web:)
20
22
  @nsc = nsc
21
23
  @street = street
@@ -34,7 +36,7 @@ module ExtraSpace
34
36
 
35
37
  # @param data [Hash]
36
38
  #
37
- # @return [Address]
39
+ # @return [Rates]
38
40
  def self.parse(data:)
39
41
  new(
40
42
  nsc: data['nsc'],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ExtraSpace
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extraspace
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-20 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -94,7 +94,7 @@ metadata:
94
94
  homepage_uri: https://github.com/ksylvest/extraspace
95
95
  source_code_uri: https://github.com/ksylvest/extraspace
96
96
  changelog_uri: https://github.com/ksylvest/extraspace
97
- post_install_message:
97
+ post_install_message:
98
98
  rdoc_options: []
99
99
  require_paths:
100
100
  - lib
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.5.22
113
- signing_key:
112
+ rubygems_version: 3.5.23
113
+ signing_key:
114
114
  specification_version: 4
115
115
  summary: A crawler for ExtraSpace.
116
116
  test_files: []