scalechain 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06688fbd234e001d9947237dc8a22e8782135b0e
4
- data.tar.gz: 749482404f7ddfaa91ff733286b5da58b36cc09a
3
+ metadata.gz: d6cefbc31b909c3b03c08a1193869dab1e583fcd
4
+ data.tar.gz: 6f2779bed2e6d69a5e661220c8258e4e2b68bd84
5
5
  SHA512:
6
- metadata.gz: 07db9dcedc220bcc769a94e1db21cc68d0b1c61c7624f7e4c26ba0c1e8c23950471b9257781f1c2b54a5e35220bcf32e00d3c59dbbd7d376ecf1ba0fc6221fce
7
- data.tar.gz: 385c30970d003755eeb674b59dec3c635c446fa8851a75557113facf656f7bde2f26c70f617a6e216d509493455aefac7fa9dd04c0859ff74027d1c33a3dc17f
6
+ metadata.gz: 895e2dc98545c606641f30b32bfb8607aa860246177dd357f7c7823c8a0e7e5367ac4d517f3eae4fd6155db8811b40601fa5b04d74f6ddc9910060589717a7ea
7
+ data.tar.gz: e67f89b8254daba5233e87f69f6d8d1caaad796d3ab2f1983905e0e50d240814115e1de5ab13a950330caacd08750653d9b3405aee8e14f54f4e12e580df4ac8
@@ -81,9 +81,9 @@ module ScaleChain
81
81
 
82
82
  # Returns a signed transaction in hex.
83
83
  # @param [String] network Required parameter: Blockchain network
84
- # @param [String] raw_tx_hex Required parameter: A raw transaction in hex
84
+ # @param [String] unsigned_tx_hex Required parameter: A raw transaction in hex
85
85
  # @return mixed response from the API call
86
- def sign_raw_transaction raw_tx_hex, network
86
+ def sign_raw_transaction unsigned_tx_hex, network
87
87
  # the base uri for api requests
88
88
  query_builder = Configuration.BASE_URI.dup
89
89
 
@@ -103,7 +103,7 @@ module ScaleChain
103
103
 
104
104
  # prepare parameters
105
105
  parameters = {
106
- "unsigned_tx_hex" => raw_tx_hex
106
+ "unsigned_tx_hex" => unsigned_tx_hex
107
107
  }
108
108
 
109
109
  # invoke the API call request to fetch the response
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scalechain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ScaleChain