metalpriceapi 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/metalpriceapi/endpoints/index.rb +1 -1
- data/lib/metalpriceapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4630840d040d437ac4d776aa35a9dc92b44ec4d4c0fdcbc1cf8cb3a392dc4c6a
|
4
|
+
data.tar.gz: 27710da5638fb28ac20215834d2d83e4194843b5014c4c493688c8592be40ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60d4a84e3173d63a9875be6f6eac85cb926ae6751f7f5c565faa31884be7c0e380d025f07eb6c1ca209eaf29be7caeaaaa0e90bbe455138239c67fe6aadd48ee
|
7
|
+
data.tar.gz: b6f5fdfaffb22ca0fa711d5ccdc7054cca15d228b225338c27c8a4315cbe4d57383a977c61a0ab939fa522e0317ab043a61e602019566714b4e8bee08a5135cf
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# metalpriceapi
|
2
2
|
|
3
|
-
metalpriceapi is the official Ruby wrapper for MetalpriceAPI. This allows you to quickly integrate our API into your application. Check https://metalpriceapi.com documentation for more information.
|
3
|
+
metalpriceapi is the official Ruby wrapper for MetalpriceAPI.com. This allows you to quickly integrate our metal price API and foreign exchange rate API into your application. Check https://metalpriceapi.com documentation for more information.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
Add to Gemfile.
|
@@ -32,7 +32,7 @@ module MetalpriceAPI
|
|
32
32
|
get('convert', options)
|
33
33
|
end
|
34
34
|
|
35
|
-
def timeframe(start_date
|
35
|
+
def timeframe(start_date, end_date, base = nil, currencies = nil)
|
36
36
|
options = removeEmpty({
|
37
37
|
'start_date': start_date,
|
38
38
|
'end_date': end_date,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metalpriceapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MetalpriceAPI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|