bancbox_invest 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bancbox_invest.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c974dcddd5a06f0740115923b18b8192d4bdef49
4
- data.tar.gz: 154ea886744e70ca4e5608f653591de5d496388d
3
+ metadata.gz: b10e2b1b48d72ccff0942020bd62843d8b8f6184
4
+ data.tar.gz: 48b2ce395b9d3e1a00dafebd54a1a8aef9adce9d
5
5
  SHA512:
6
- metadata.gz: 43954c7b896d411526ae62c6dd4d0d4ec4cc17860c70f7ce5e84bd29d19d56cc932f28557505a42fb67d9d41ee749e417b8dc2873e2d45f2dd935363bfa25fb5
7
- data.tar.gz: bbc57e3e79468084279afbf15abbcde6aed21b5373c1d1fb70487c93306a1601ca9cd2594da8db569c5dcac897d4af6de140fee2a5ade8f47d6fc808d81c34e8
6
+ metadata.gz: 68bb6d80fc0da381c02425d9493c46bb875ed64dd3921bdd00f11b14540ee7af4793be05de69f63b183e816ba053e65a67739c764dc50fc74af91eb7d12c9935
7
+ data.tar.gz: 5c3be4b0358e229d0164dccc0267b27fb09e251adf75df1c1dd182691c581cb1822b50787c3a733aa8869fb63b2470d4bb164016451e136662c1c74363279931
@@ -1,11 +1,11 @@
1
1
  require 'httparty'
2
2
  require 'active_support/core_ext'
3
3
 
4
- class Bancbox
4
+ class BancboxInvest
5
5
 
6
6
  attr_accessor :bancbox_api_key, :bancbox_api_secret, :bancbox_api_url
7
7
 
8
- BANCBOX_METHODS = %w[create_investor submit_agreement verify_identity create_issuer open_escrow fund_account fund_escrow
8
+ METHODS = %w[create_investor submit_agreement verify_identity create_issuer open_escrow fund_account fund_escrow
9
9
  cge_investor_contr cancel_escrow close_escrow get_escrow_details get_escrow_list get_activity_details get_investor_list
10
10
  get_investor get_issuer_list get_issuer_details disburse_escrow disburse_escrow get_investment_ledger update_investment_ledger
11
11
  freeze_investment_ledger create_proceeds_schedules get_proceeds_schedules cancel_proceeds_schedules withdraw_funds
@@ -32,7 +32,7 @@ class Bancbox
32
32
  HTTParty.post(bancbox_api_url+url, query: options)
33
33
  end
34
34
 
35
- BANCBOX_METHODS.each do |action|
35
+ METHODS.each do |action|
36
36
  define_method(action) do |argument|
37
37
  @options.merge!(argument)
38
38
  post("/crowd/v0/cfp/#{action.camelize(:lower)}", @options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bancbox_invest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maksim Berjoza