bitsy-bitcoin 0.0.8 → 0.1.0
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48c7d3458982b26baf51b399176c16f7d9746efa
|
4
|
+
data.tar.gz: d24ef9b6dc9dba8787541c44212cfadb07656fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f0053a723a93a65fbaca090ea2df6296cb666da3ecf0ae79872a174326df513702ea41704fe63b81952ce0de380225e3543f4dca9347d9a000f67441e09d7d5
|
7
|
+
data.tar.gz: 8148decc5dd0a541580d53fe4d3d62eb0817abdf96820db8955cfd8e8c2a297ed8cbc61bda5d1e202274e798daa47772f3076bec7b88c40bcbe73d514e4d6830
|
@@ -2,6 +2,11 @@ module Bitsy
|
|
2
2
|
module V1
|
3
3
|
class PaymentDepotsController < ApplicationController
|
4
4
|
|
5
|
+
def index
|
6
|
+
@payment_depots = PaymentDepot.all
|
7
|
+
render json: @payment_depots
|
8
|
+
end
|
9
|
+
|
5
10
|
def show
|
6
11
|
@payment_depot = PaymentDepot.find(params[:id])
|
7
12
|
render json: @payment_depot
|
data/lib/bitsy/version.rb
CHANGED
@@ -4,7 +4,8 @@ Bitsy.configure do |c|
|
|
4
4
|
# How much of a transaction fee to pay to the network
|
5
5
|
c.transaction_fee = 0.0001
|
6
6
|
|
7
|
-
#
|
7
|
+
# This setting multiplied by the transaction fee is how much bitcoin the
|
8
|
+
# system will accumulate before forwarding money
|
8
9
|
c.transaction_fee_threshold_multiplier = 200
|
9
10
|
|
10
11
|
# How many confirmations are needed to consider a transaction as complete
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bitsy-bitcoin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|