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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 440f5c9e24c9c7072940fe6e495350f5d7cb3514a2380b9da75553a46db3730c
4
- data.tar.gz: 2887c5fa900b867efd773d81176a049ae7655a7f960c1b55d4b55a8a64b8ff2e
3
+ metadata.gz: dd9c2db7d90938baab88f54d58fd5f7a6426d7d50e81b5a7d1a4954be42ee617
4
+ data.tar.gz: f6993185f8c53a13ac3f3c797525a21c1bf4206c53a07f898d0f30543cf4d33f
5
5
  SHA512:
6
- metadata.gz: d9e70e3565397832c6ca3649f9dd2e2a5b13a688077a899c5111c0c4382928c67850961075c8cb0efc0ac1f869497bfa85b2fd9dcc1d6c224acd02af29a23474
7
- data.tar.gz: ec74028328e4d46c544a6fc3d8e7e64be827c5d1719300821a76b9c5a4cfa3c4e604f3aba67fef5b4113530789cee22061c5cc19b6bcbe394e109f162007303d
6
+ metadata.gz: 4e1f2adc58b8f6ba59c6ea32d0d0b349489f06d406d8caa071d2f7386547578328aefd0f5aacd4e41260387637c65c066511193cc26c27d9d5c70812e2f3eb4b
7
+ data.tar.gz: 04fb6e5a5552333dd62d518d21471e1a6408e9b6951352f255883f8385c7d4b003ed51bcaf33e26da46795f9298328a1256ccebc96cf299e28ffcd5027c44897
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xpensify-sdk (0.0.2)
4
+ xpensify-sdk (0.0.3)
5
5
  http (~> 5.0)
6
6
 
7
7
  GEM
@@ -81,6 +81,7 @@ GEM
81
81
 
82
82
  PLATFORMS
83
83
  universal-darwin-20
84
+ x86_64-linux
84
85
 
85
86
  DEPENDENCIES
86
87
  bundler (~> 2.2)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module XpensifySDK
2
- VERSION = '0.0.2'.freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
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.2
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-18 00:00:00.000000000 Z
11
+ date: 2021-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http