sma_api 0.1.0 → 0.1.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 +4 -4
- data/README.md +8 -1
- data/lib/sma_api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2f994f340255621ab0bc720f6165e3d3ee73fb0161700ad59b1d748770b67fb7
|
|
4
|
+
data.tar.gz: 4a35899e2bd9aca9d5ab5d989fad6f6121497307a0398eae1c4de71345cc01a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17d02c38d1a4e981d0ee2552699c9631bf0c168d1b41e5d129283c9d292e689364f88cd70f2a39524f09281c0fb81abd2202d6dc352a79770c10060378cf03ff
|
|
7
|
+
data.tar.gz: 256e9dbb7bdf86f7ccf4f36fd431083f9083b40216282aae7d4e21744f8bc4d8f3efb99e1a0d26c793c9f4d983bfa51bf849d8d597f35fc34e2275f3f5a346a5
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ it has not been tested.
|
|
|
17
17
|
Add this line to your application's Gemfile:
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
gem 'sma_api'
|
|
20
|
+
gem 'sma_api'
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
And then execute:
|
|
@@ -101,6 +101,13 @@ client.destroy_session
|
|
|
101
101
|
at_exit { client.destroy_session }
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
## How to get the keys for get_values method
|
|
105
|
+
|
|
106
|
+
The `get_values` method accepts an array of keys. These keys can be found using the SMA web interface. Use the browser Developer Tools to find the keys. In the example below, the key for "Power" (Dutch: "Vermogen") is `6100_40263F00`
|
|
107
|
+
|
|
108
|
+

|
|
109
|
+
|
|
110
|
+
|
|
104
111
|
## Contributing
|
|
105
112
|
|
|
106
113
|
Bug reports and pull requests are welcome on GitHub at https://github.com/rutgerw/sma_api.
|
data/lib/sma_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sma_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rutger Wessels
|
|
@@ -50,14 +50,14 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
53
|
+
version: '13.0'
|
|
54
54
|
type: :development
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - "~>"
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: '
|
|
60
|
+
version: '13.0'
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: rspec
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|