BnmAPI 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fc66d3951b21035682a2b4b2f6ea0b4da1096d0d0e97b673c8882ed170181a3c
4
+ data.tar.gz: 6e1297d73b069c1b246010dd55569923f9331703663e4c64b1ff892f708486c7
5
+ SHA512:
6
+ metadata.gz: 5ac8cdb7b96ecf0f4579d99d2cf487cc0eba8bf54f0be6af3fc0b1e604fa47c2595b9c82756fecf14518669ad5081c1f41ed33a715a5efa7ed899ddd2ba0ab91
7
+ data.tar.gz: e99bfa3283a5c872ef932bcfd1084a16299410905f51bc54304e159d04066b0a92e66de288a24ded7e5237f53170482542eb6fb0a2cdf42edb3cb9b54acd5c5e
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.1
7
+ before_install: gem install bundler -v 1.17.2
@@ -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 jibone@gmail.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
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in bnmapi.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,49 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ BnmAPI (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.6.0)
10
+ public_suffix (>= 2.0.2, < 4.0)
11
+ crack (0.4.3)
12
+ safe_yaml (~> 1.0.0)
13
+ diff-lcs (1.3)
14
+ hashdiff (0.3.8)
15
+ public_suffix (3.0.3)
16
+ rake (10.5.0)
17
+ rspec (3.8.0)
18
+ rspec-core (~> 3.8.0)
19
+ rspec-expectations (~> 3.8.0)
20
+ rspec-mocks (~> 3.8.0)
21
+ rspec-core (3.8.0)
22
+ rspec-support (~> 3.8.0)
23
+ rspec-expectations (3.8.2)
24
+ diff-lcs (>= 1.2.0, < 2.0)
25
+ rspec-support (~> 3.8.0)
26
+ rspec-mocks (3.8.0)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.8.0)
29
+ rspec-support (3.8.0)
30
+ safe_yaml (1.0.5)
31
+ vcr (4.0.0)
32
+ webmock (3.5.1)
33
+ addressable (>= 2.3.6)
34
+ crack (>= 0.3.2)
35
+ hashdiff
36
+
37
+ PLATFORMS
38
+ ruby
39
+
40
+ DEPENDENCIES
41
+ BnmAPI!
42
+ bundler (~> 1.17)
43
+ rake (~> 10.0)
44
+ rspec (~> 3.0)
45
+ vcr
46
+ webmock
47
+
48
+ BUNDLED WITH
49
+ 1.17.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 J Shamsul Bahri (jibone))
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.
data/README.md ADDED
@@ -0,0 +1,151 @@
1
+ # Bnmapi
2
+
3
+ Ruby wrapper for Bank Negara Malaysia Open API. Details and API disclaimer can
4
+ be found here [BNM Open API](https://api.bnm.gov.my/portal)
5
+
6
+ _Note:_ This gem is still in early devvelopment stages and not ready for use.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'bnmapi'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install bnmapi
23
+
24
+ ## Usage
25
+
26
+ ### Getting Started
27
+
28
+ #### (/welcome)
29
+ https://api.bnm.gov.my/portal#operation/Welcome
30
+
31
+ Getting started API which returns information and descriptions for BNM Open APi.
32
+
33
+ ```ruby
34
+ welcome = BnmAPI::Welcome.get
35
+
36
+ puts welcome.name
37
+ # BNM.API
38
+
39
+ puts welcome.api
40
+ # ['v1']
41
+
42
+ puts welcome.description
43
+ # displays API discription
44
+
45
+ puts welcome.disclaimer
46
+ # https://api.bnm.gov.my/disclaimer
47
+
48
+ puts welcome.contact_name
49
+ # BNM.API
50
+
51
+ puts welcome.contact_email
52
+ # oapi@bnm.gov.my
53
+ ```
54
+
55
+ ### Base Rate/BLR/Effective LR
56
+
57
+ Current Base Rates and Base Lending Rates for retail loans or financing
58
+ facilities and Indicative Effective Lending Rates for a standard housing
59
+ loan/home financing offered by financial institutions.
60
+
61
+ #### (latest)
62
+ https://api.bnm.gov.my/portal#operation/BRLatest
63
+
64
+ Creates a list of bank information with base rate and base lending rates
65
+ details.
66
+
67
+ ```ruby
68
+ collection = BnmAPI::BaseRate.latest
69
+
70
+ collection.size
71
+ # 35 (number if bank in the response like)
72
+
73
+ puts collection[0].bank_code
74
+ # BKKBMYKL
75
+
76
+ puts collection[0].bank_name
77
+ # Bangkok Bank Berhad
78
+
79
+ puts collection[0].base_rate
80
+ # 4.72
81
+
82
+ puts collection[0].base_financing_rate
83
+ # 7.37
84
+
85
+ puts collection[0].base_lending_rate
86
+ # 5.92
87
+
88
+ puts collection[0].last_updated
89
+ # 2019-02-14 11:48:23
90
+
91
+ puts collection[0].effective_date
92
+ # 2019-04-05
93
+ ```
94
+
95
+ #### (by bank code)
96
+ https://api.bnm.gov.my/portal#operation/BRBankCode
97
+
98
+ ```ruby
99
+ bank = BnmAPI::BaseRate.by_bank_code('BKKBMYKL')
100
+
101
+ puts bank.bank_code
102
+ # BKKBMYKL
103
+
104
+ puts bank.bank_name
105
+ # Bangkok Bank Berhad
106
+
107
+ puts bank.base_rate
108
+ # 4.72
109
+
110
+ puts bank.base_lending_rate
111
+ # 7.37
112
+
113
+ puts bank.indicative_eff_lending_rate
114
+ # 5.92
115
+
116
+ puts bank.last_updated
117
+ # 2019-01-18 19:25:02
118
+
119
+ puts bank.effective_date
120
+ # 2019-04-05
121
+ ```
122
+
123
+ ## Development
124
+
125
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
126
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
127
+ prompt that will allow you to experiment.
128
+
129
+ To install this gem onto your local machine, run `bundle exec rake install`. To
130
+ release a new version, update the version number in `version.rb`, and then run
131
+ `bundle exec rake release`, which will create a git tag for the version, push
132
+ git commits and tags, and push the `.gem` file to
133
+ [rubygems.org](https://rubygems.org).
134
+
135
+ ## Contributing
136
+
137
+ Bug reports and pull requests are welcome on GitHub at
138
+ https://github.com/jibone/bnmapi. This project is intended to be a safe,
139
+ welcoming space for collaboration, and contributors are expected to adhere to
140
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
141
+
142
+ ## License
143
+
144
+ The gem is available as open source under the terms of the
145
+ [MIT License](https://opensource.org/licenses/MIT).
146
+
147
+ ## Code of Conduct
148
+
149
+ Everyone interacting in the Bnmapi project’s codebases, issue trackers,
150
+ chat rooms and mailing lists is expected to follow the
151
+ [code of conduct](https://github.com/jibone/bnmapi/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bnmapi"
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,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/bnmapi.gemspec ADDED
@@ -0,0 +1,53 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "bnmapi/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "BnmAPI"
8
+ spec.version = BnmAPI::VERSION
9
+ spec.authors = ["J Shamsul Bahri (jibone))"]
10
+ spec.email = ["jibone@gmail.com"]
11
+
12
+ spec.summary = %q{Wrapper around BNM open API}
13
+ #spec.description = %q{TODO: Write a longer description or delete this line.}
14
+ spec.homepage = "https://github.com/jibone/bnmapi"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ #if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+
22
+ # spec.metadata["homepage_uri"] = spec.homepage
23
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
24
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
25
+ #else
26
+ # raise "RubyGems 2.0 or newer is required to protect against " \
27
+ # "public gem pushes."
28
+ #end
29
+
30
+ ## Specify which files should be added to the gem when it is released.
31
+ ## The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ #spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ # `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ #end
35
+ #spec.bindir = "exe"
36
+ #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
38
+ f.match(%r{^(test|spec|features)/})
39
+ end
40
+
41
+ spec.executables = `git ls-files -- bin/*`.split("\n").map do |f|
42
+ File.basename(f)
43
+ end
44
+
45
+ spec.require_paths = ["lib"]
46
+
47
+ spec.add_development_dependency "bundler", "~> 1.17"
48
+ spec.add_development_dependency "rake", "~> 10.0"
49
+ spec.add_development_dependency "rspec", "~> 3.0"
50
+ spec.add_development_dependency 'webmock'
51
+ spec.add_development_dependency 'vcr'
52
+
53
+ end
@@ -0,0 +1,46 @@
1
+ module BnmAPI
2
+ class BaseRate
3
+ ENDPOINT = '/base-rate'
4
+
5
+ def self.latest
6
+ http = BnmAPI::HTTP::Client.new(endpoint: ENDPOINT)
7
+
8
+ res = JSON.parse(http.request.read_body)
9
+
10
+ collection = []
11
+
12
+ res['data'].each do |data|
13
+ collection << BnmAPI::Data::BankBaseRate.new(
14
+ data['bank_code'],
15
+ data['bank_name'],
16
+ data['base_rate'],
17
+ data['base_lending_rate'],
18
+ data['base_financing_rate'],
19
+ data['indicative_eff_lending_rate'],
20
+ res['meta']['last_updated'],
21
+ res['meta']['effective_date']
22
+ )
23
+ end
24
+
25
+ collection
26
+ end
27
+
28
+ def self.by_bank_code(bank_code)
29
+ http = BnmAPI::HTTP::Client.new(endpoint: ENDPOINT + '/' + bank_code)
30
+
31
+ res = JSON.parse(http.request.read_body)
32
+
33
+ BnmAPI::Data::BankBaseRate.new(
34
+ res['data']['bank_code'],
35
+ res['data']['bank_name'],
36
+ res['data']['base_rate'],
37
+ res['data']['base_lending_rate'],
38
+ res['data']['base_financing_rate'],
39
+ res['data']['indicative_eff_lending_rate'],
40
+ res['meta']['last_updated'],
41
+ res['meta']['effective_date']
42
+ )
43
+
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,17 @@
1
+ module BnmAPI::Data
2
+ # not sure what is the difference between landing rate and financing rate
3
+ # the API response some returns landing rate and some returns financing rate
4
+ # including both in the data.
5
+ BankBaseRate = Struct.new(
6
+ :bank_code,
7
+ :bank_name,
8
+ :base_rate,
9
+ :base_lending_rate,
10
+ :base_financing_rate,
11
+ :indicative_eff_lending_rate,
12
+ :last_updated,
13
+ :effective_date
14
+ ) do
15
+
16
+ end
17
+ end
@@ -0,0 +1,44 @@
1
+ require 'net/http'
2
+ require 'open-uri'
3
+ require 'openssl'
4
+ require 'json'
5
+
6
+ module BnmAPI::HTTP
7
+ class Client
8
+ attr_accessor :endpoint
9
+
10
+ BASE_API = 'https://api.bnm.gov.my/public'
11
+ HEADER_ACCEPT = 'application/vnd.BNM.API.v1+json'
12
+
13
+ def initialize(endpoint:)
14
+ self.endpoint = endpoint
15
+ end
16
+
17
+ def request
18
+ uri = prepare_uri
19
+ http = prepare_http(uri)
20
+ http.request(prepare_request(uri))
21
+ end
22
+
23
+ def prepare_uri
24
+ uri = BASE_API + endpoint
25
+ URI.parse(uri)
26
+ end
27
+
28
+ def prepare_http(uri)
29
+ http = Net::HTTP.new(uri.host, uri.port)
30
+ http.use_ssl = true
31
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
32
+
33
+ http
34
+ end
35
+
36
+ def prepare_request(uri)
37
+ req = Net::HTTP::Get.new(uri.request_uri)
38
+ req['Accept'] = HEADER_ACCEPT
39
+
40
+ req
41
+ end
42
+
43
+ end
44
+ end
@@ -0,0 +1,3 @@
1
+ module BnmAPI
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,34 @@
1
+ module BnmAPI
2
+ Welcome = Struct.new(
3
+ :name,
4
+ :api,
5
+ :description,
6
+ :contact,
7
+ :disclaimer
8
+ ) do
9
+
10
+ API_PATH = '/welcome'
11
+
12
+ def self.get
13
+ http = BnmAPI::HTTP::Client.new(endpoint: API_PATH)
14
+
15
+ res = JSON.parse(http.request.read_body)
16
+
17
+ self.new(
18
+ res['name'],
19
+ res['api'],
20
+ res['description'],
21
+ res['contact'],
22
+ res['disclaimer']
23
+ )
24
+ end
25
+
26
+ def contact_name
27
+ contact['name']
28
+ end
29
+
30
+ def contact_email
31
+ contact['email']
32
+ end
33
+ end
34
+ end
data/lib/bnmapi.rb ADDED
@@ -0,0 +1,10 @@
1
+ require 'bnmapi/version'
2
+ require 'bnmapi/http/client'
3
+ require 'bnmapi/data/bank_base_rate'
4
+ require 'bnmapi/welcome'
5
+ require 'bnmapi/base_rate'
6
+
7
+ module BnmAPI
8
+ class Error < StandardError; end
9
+ # Your code goes here...
10
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: BnmAPI
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - J Shamsul Bahri (jibone))
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-04-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.17'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.17'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: webmock
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: vcr
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description:
84
+ email:
85
+ - jibone@gmail.com
86
+ executables:
87
+ - console
88
+ - setup
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
+ - CODE_OF_CONDUCT.md
96
+ - Gemfile
97
+ - Gemfile.lock
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/setup
103
+ - bnmapi.gemspec
104
+ - lib/bnmapi.rb
105
+ - lib/bnmapi/base_rate.rb
106
+ - lib/bnmapi/data/bank_base_rate.rb
107
+ - lib/bnmapi/http/client.rb
108
+ - lib/bnmapi/version.rb
109
+ - lib/bnmapi/welcome.rb
110
+ homepage: https://github.com/jibone/bnmapi
111
+ licenses:
112
+ - MIT
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.0.1
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: Wrapper around BNM open API
133
+ test_files: []