README.md in patch_ruby-1.5.2 vs README.md in patch_ruby-1.6.0

- old
+ new

@@ -137,10 +137,14 @@ make: make, model: model, year: year ) +# Create a flight estimate +transaction_value_btc_sats = 1000; # [Optional] Pass in the transaction value in satoshis +Patch::Estimate.create_bitcoin_estimate(transaction_value_btc_sats: transaction_value_btc_sats) + ## You can also specify a project-id field (optional) to be used instead of the preferred one project_id = 'pro_test_1234' # Pass in the project's ID Patch::Estimate.create_mass_estimate(mass_g: mass, project_id: project_id) # Retrieve an estimate @@ -216,32 +220,32 @@ ## Development To build the gem locally, run: +```bash +gem build patch_ruby.gemspec ``` -$ gem build patch_ruby.gemspec -``` This will create a .gem file. To install the local gem: +```bash +gem install patch_ruby-1.x.x.gem ``` -$ gem install patch_ruby-1.x.x.gem -``` Install dependencies: +```bash +bundle install ``` -$ bundle install -``` Set up required environment variables: +```bash +export SANDBOX_API_KEY=<SANDBOX API KEY> ``` -$ export SANDBOX_API_KEY=<SANDBOX API KEY> -``` Run tests: -``` -$ bundle exec rspec +```bash +bundle exec rspec ```