independent_reserve_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +10 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +21 -0
- data/PULL_REQUEST_TEMPLATE +18 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/independent_reserve_client.gemspec +34 -0
- data/lib/independent_reserve_client.rb +22 -0
- data/lib/independent_reserve_client/client.rb +16 -0
- data/lib/independent_reserve_client/models/base_model.rb +5 -0
- data/lib/independent_reserve_client/models/exchange_rate.rb +6 -0
- data/lib/independent_reserve_client/models/market_summary.rb +15 -0
- data/lib/independent_reserve_client/requests/base_request.rb +5 -0
- data/lib/independent_reserve_client/requests/get_exchange_rate_request.rb +20 -0
- data/lib/independent_reserve_client/requests/get_market_summary_request.rb +20 -0
- data/lib/independent_reserve_client/responses/base_response.rb +8 -0
- data/lib/independent_reserve_client/responses/get_exchange_rate_response.rb +16 -0
- data/lib/independent_reserve_client/responses/get_market_summary_response.rb +25 -0
- data/lib/independent_reserve_client/version.rb +3 -0
- metadata +225 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e982075750559bba8aba0cfaf0cf438de303f47f
|
4
|
+
data.tar.gz: 501ee712dff57ecb49e19e4fdc71fab4979b5965
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cb09a6d7e7020543044477c13031154c7c03b809dd325bae4351ec5e2ffee14d426dd5082c258ea2265503bcb8e7f2e3a0d99892a4b00afeb4d1e9ce9ed3083a
|
7
|
+
data.tar.gz: 806140c3a3049f53fa4563ed06716319a22e9626f20025a02c694d12c380e3f184accf65a17173fd8042071977fa5daff6b449c8e6f4f9ca21406e3f02a37de7
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Change Log
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
|
+
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
|
+
|
7
|
+
## [0.1.0] - 2017-11-10
|
8
|
+
### Added
|
9
|
+
- Add `client.get_market_summary` independent reserve client method
|
10
|
+
- Add `client.get_exchange_rate` independent reserve client method
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at me@armanjon.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Arman Jon Villalobos
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
@@ -0,0 +1,18 @@
|
|
1
|
+
## Description
|
2
|
+
Describe your changes made in the context of a user/technical user.
|
3
|
+
Ex. 1 - This fixes the "Download CSV" button
|
4
|
+
Ex. 2 - Refactor in preparation for embedding transaction details
|
5
|
+
Ex. 3 - Migrating the old senders to the new table
|
6
|
+
|
7
|
+
## Pivotal Story
|
8
|
+
Place a link to the Pivotal Task:
|
9
|
+
Ex: https://www.pivotaltracker.com/story/show/0123456789
|
10
|
+
|
11
|
+
## Pull Request Changes
|
12
|
+
List changes made in the context of a developer.
|
13
|
+
Ex:
|
14
|
+
- Added new model
|
15
|
+
- Change views
|
16
|
+
|
17
|
+
## Screenshots (optional)
|
18
|
+
Take screenshots whenever there are UI changes
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# IndependentReserveClient
|
2
|
+
|
3
|
+
Ruby Wrapper for [IndependentReserve's API](https://www.independentreserve.com/API#overview)
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'independent_reserve_client-ruby'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install independent_reserve_client-ruby
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
client = IndependentReserveClient.new
|
25
|
+
|
26
|
+
# Returns a current snapshot of the Independent Reserve market for a given currency pair.
|
27
|
+
client.get_market_summary("XBT", "AUD")
|
28
|
+
|
29
|
+
# Returns an exchange rate for the given currency pair
|
30
|
+
client.get_exchange_rate("XBT", "AUD")
|
31
|
+
```
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/imacchiato/independent_reserve_client-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
## License
|
38
|
+
|
39
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
40
|
+
|
41
|
+
## Code of Conduct
|
42
|
+
|
43
|
+
Everyone interacting in the IndependentReserveClient::Ruby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/independent_reserve_client-ruby/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "independent_reserve_client"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "independent_reserve_client/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "independent_reserve_client"
|
8
|
+
spec.version = IndependentReserveClient::VERSION
|
9
|
+
spec.authors = ["Arman Jon Villalobos", "Ace Subido"]
|
10
|
+
spec.email = ["me@armanjon.com", "ace.subido@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Ruby Wrapper for IndependentReserve's API}
|
13
|
+
spec.description = %q{Ruby Wrapper for IndependentReserve's API}
|
14
|
+
spec.homepage = "https://github.com/bloom-solutions/independent_reserve_client-ruby"
|
15
|
+
spec.license = "MIT"
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features)/})
|
18
|
+
end
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_dependency "api_client_base", "~> 1.0"
|
24
|
+
spec.add_dependency "typhoeus", "~> 1.0"
|
25
|
+
spec.add_dependency "virtus", "~> 1.0"
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
27
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.5"
|
29
|
+
spec.add_development_dependency "timecop", "0.8.1"
|
30
|
+
spec.add_development_dependency "vcr", "~> 3.0"
|
31
|
+
spec.add_development_dependency "virtus-matchers", ">= 0.4.0"
|
32
|
+
spec.add_development_dependency "webmock", "~> 2.3"
|
33
|
+
spec.add_development_dependency "factory_girl"
|
34
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require "api_client_base"
|
2
|
+
require "typhoeus"
|
3
|
+
|
4
|
+
require "independent_reserve_client/version"
|
5
|
+
require "independent_reserve_client/client"
|
6
|
+
require "independent_reserve_client/models/base_model"
|
7
|
+
require "independent_reserve_client/models/exchange_rate"
|
8
|
+
require "independent_reserve_client/models/market_summary"
|
9
|
+
require "independent_reserve_client/requests/base_request"
|
10
|
+
require "independent_reserve_client/requests/get_exchange_rate_request"
|
11
|
+
require "independent_reserve_client/requests/get_market_summary_request"
|
12
|
+
require "independent_reserve_client/responses/base_response"
|
13
|
+
require "independent_reserve_client/responses/get_exchange_rate_response"
|
14
|
+
require "independent_reserve_client/responses/get_market_summary_response"
|
15
|
+
|
16
|
+
module IndependentReserveClient
|
17
|
+
include APIClientBase::Base.module
|
18
|
+
|
19
|
+
with_configuration do
|
20
|
+
has :host, classes: String, default: "https://api.independentreserve.com"
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class Client
|
3
|
+
|
4
|
+
include APIClientBase::Client.module(default_opts: :default_opts)
|
5
|
+
attribute :host, String
|
6
|
+
|
7
|
+
api_action :get_exchange_rate, args: [:primary_currency, :secondary_currency]
|
8
|
+
api_action :get_market_summary, args: [:primary_currency, :secondary_currency]
|
9
|
+
|
10
|
+
private
|
11
|
+
|
12
|
+
def default_opts
|
13
|
+
{ host: host }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class MarketSummary < BaseModel
|
3
|
+
attribute :created_timestamp_utc, Time
|
4
|
+
attribute :current_highest_bid_price, Float
|
5
|
+
attribute :current_lowest_offer_price, Float
|
6
|
+
attribute :day_avg_price, Float
|
7
|
+
attribute :day_highest_price, Float
|
8
|
+
attribute :day_lowest_price, Float
|
9
|
+
attribute :day_volume_xbt, Float
|
10
|
+
attribute :day_volume_xbt_in_secondary_currency, Float
|
11
|
+
attribute :last_price, Float
|
12
|
+
attribute :primary_currency_code, String
|
13
|
+
attribute :secondary_currency_code, String
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class GetExchangeRateRequest < BaseRequest
|
3
|
+
|
4
|
+
attribute :primary_currency, String
|
5
|
+
attribute :secondary_currency, String
|
6
|
+
|
7
|
+
private
|
8
|
+
|
9
|
+
def path
|
10
|
+
"/Public/GetMarketSummary"
|
11
|
+
end
|
12
|
+
|
13
|
+
def params
|
14
|
+
{
|
15
|
+
"primaryCurrencyCode" => primary_currency,
|
16
|
+
"secondaryCurrencyCode" => secondary_currency
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class GetMarketSummaryRequest < BaseRequest
|
3
|
+
|
4
|
+
attribute :primary_currency, String
|
5
|
+
attribute :secondary_currency, String
|
6
|
+
|
7
|
+
private
|
8
|
+
|
9
|
+
def path
|
10
|
+
"/Public/GetMarketSummary"
|
11
|
+
end
|
12
|
+
|
13
|
+
def params
|
14
|
+
{
|
15
|
+
"primaryCurrencyCode" => primary_currency,
|
16
|
+
"secondaryCurrencyCode" => secondary_currency
|
17
|
+
}
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class GetExchangeRateResponse < BaseResponse
|
3
|
+
|
4
|
+
attribute :body, Float, lazy: true, default: :default_body
|
5
|
+
|
6
|
+
private
|
7
|
+
|
8
|
+
def default_body
|
9
|
+
json = JSON.parse(raw_response.body)
|
10
|
+
IndependentReserveClient::ExchangeRate.new(
|
11
|
+
rate: json["LastPrice"],
|
12
|
+
timestamp: Time.parse(json["CreatedTimestampUtc"])
|
13
|
+
)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
module IndependentReserveClient
|
2
|
+
class GetMarketSummaryResponse < BaseResponse
|
3
|
+
|
4
|
+
attribute :body, Float, lazy: true, default: :default_body
|
5
|
+
|
6
|
+
private
|
7
|
+
|
8
|
+
def default_body
|
9
|
+
json = JSON.parse(raw_response.body)
|
10
|
+
IndependentReserveClient::MarketSummary.new(
|
11
|
+
created_timestamp_utc: Time.parse(json["CreatedTimestampUtc"]),
|
12
|
+
current_highest_bid_price: json["CurrentHighestBidPrice"],
|
13
|
+
current_lowest_offer_price: json["CurrentLowestOfferPrice"],
|
14
|
+
day_avg_price: json["DayAvgPrice"],
|
15
|
+
day_highest_price: json["DayHighestPrice"],
|
16
|
+
day_lowest_price: json["DayLowestPrice"],
|
17
|
+
day_volume_xbt: json["DayVolumeXbt"],
|
18
|
+
day_volume_xbt_in_secondary_currency: json["DayVolumeXbtInSecondaryCurrrency"],
|
19
|
+
last_price: json["LastPrice"],
|
20
|
+
primary_currency_code: json["PrimaryCurrencyCode"],
|
21
|
+
secondary_currency_code: json["SecondaryCurrencyCode"]
|
22
|
+
)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: independent_reserve_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Arman Jon Villalobos
|
8
|
+
- Ace Subido
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: api_client_base
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: typhoeus
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: virtus
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: bundler
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.14'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '1.14'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rake
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '12.0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '12.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rspec
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '3.5'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '3.5'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: timecop
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 0.8.1
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 0.8.1
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: vcr
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '3.0'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '3.0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: virtus-matchers
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 0.4.0
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: 0.4.0
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: webmock
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - "~>"
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '2.3'
|
147
|
+
type: :development
|
148
|
+
prerelease: false
|
149
|
+
version_requirements: !ruby/object:Gem::Requirement
|
150
|
+
requirements:
|
151
|
+
- - "~>"
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '2.3'
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: factory_girl
|
156
|
+
requirement: !ruby/object:Gem::Requirement
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0'
|
161
|
+
type: :development
|
162
|
+
prerelease: false
|
163
|
+
version_requirements: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
description: Ruby Wrapper for IndependentReserve's API
|
169
|
+
email:
|
170
|
+
- me@armanjon.com
|
171
|
+
- ace.subido@gmail.com
|
172
|
+
executables: []
|
173
|
+
extensions: []
|
174
|
+
extra_rdoc_files: []
|
175
|
+
files:
|
176
|
+
- ".gitignore"
|
177
|
+
- ".rspec"
|
178
|
+
- ".travis.yml"
|
179
|
+
- CHANGELOG.md
|
180
|
+
- CODE_OF_CONDUCT.md
|
181
|
+
- Gemfile
|
182
|
+
- LICENSE.txt
|
183
|
+
- PULL_REQUEST_TEMPLATE
|
184
|
+
- README.md
|
185
|
+
- Rakefile
|
186
|
+
- bin/console
|
187
|
+
- bin/setup
|
188
|
+
- independent_reserve_client.gemspec
|
189
|
+
- lib/independent_reserve_client.rb
|
190
|
+
- lib/independent_reserve_client/client.rb
|
191
|
+
- lib/independent_reserve_client/models/base_model.rb
|
192
|
+
- lib/independent_reserve_client/models/exchange_rate.rb
|
193
|
+
- lib/independent_reserve_client/models/market_summary.rb
|
194
|
+
- lib/independent_reserve_client/requests/base_request.rb
|
195
|
+
- lib/independent_reserve_client/requests/get_exchange_rate_request.rb
|
196
|
+
- lib/independent_reserve_client/requests/get_market_summary_request.rb
|
197
|
+
- lib/independent_reserve_client/responses/base_response.rb
|
198
|
+
- lib/independent_reserve_client/responses/get_exchange_rate_response.rb
|
199
|
+
- lib/independent_reserve_client/responses/get_market_summary_response.rb
|
200
|
+
- lib/independent_reserve_client/version.rb
|
201
|
+
homepage: https://github.com/bloom-solutions/independent_reserve_client-ruby
|
202
|
+
licenses:
|
203
|
+
- MIT
|
204
|
+
metadata: {}
|
205
|
+
post_install_message:
|
206
|
+
rdoc_options: []
|
207
|
+
require_paths:
|
208
|
+
- lib
|
209
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
requirements: []
|
220
|
+
rubyforge_project:
|
221
|
+
rubygems_version: 2.6.11
|
222
|
+
signing_key:
|
223
|
+
specification_version: 4
|
224
|
+
summary: Ruby Wrapper for IndependentReserve's API
|
225
|
+
test_files: []
|