xpensify-sdk 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/lib/xpensify_sdk/invoices/request_builder.rb +7 -0
- data/lib/xpensify_sdk/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: dd9c2db7d90938baab88f54d58fd5f7a6426d7d50e81b5a7d1a4954be42ee617
|
4
|
+
data.tar.gz: f6993185f8c53a13ac3f3c797525a21c1bf4206c53a07f898d0f30543cf4d33f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e1f2adc58b8f6ba59c6ea32d0d0b349489f06d406d8caa071d2f7386547578328aefd0f5aacd4e41260387637c65c066511193cc26c27d9d5c70812e2f3eb4b
|
7
|
+
data.tar.gz: 04fb6e5a5552333dd62d518d21471e1a6408e9b6951352f255883f8385c7d4b003ed51bcaf33e26da46795f9298328a1256ccebc96cf299e28ffcd5027c44897
|
data/Gemfile.lock
CHANGED
@@ -34,6 +34,13 @@ module XpensifySDK
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
+
def with_market_rate(from = nil, to = nil)
|
38
|
+
return @options[:with_market_rate] if from.nil? && to.nil?
|
39
|
+
|
40
|
+
@options[:with_market_rate] = "#{from}-#{to}"
|
41
|
+
self
|
42
|
+
end
|
43
|
+
|
37
44
|
def call
|
38
45
|
XpensifySDK::Invoices::Result.new(@options, @api_key, HTTPClient)
|
39
46
|
end
|
data/lib/xpensify_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xpensify-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Bezdjian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|