README.md in nanook-2.2.0 vs README.md in nanook-2.3.0

- old
+ new

@@ -9,11 +9,11 @@ ## Installation Add this line to your application's Gemfile: ```ruby -gem 'nanook', "~> 2.2" +gem 'nanook', "~> 2.3" ``` And then execute: $ bundle @@ -118,15 +118,15 @@ wallet.receive(block_id, into: account_id) ``` ## All commands -Below is a quick reference list of commands. See the [full Nanook documentation](https://lukes.github.io/nanook/2.2.0/) for a searchable detailed description of every class and method, what the arguments mean, and example responses (Tip: the classes are listed under the "**Nanook** < Object" item in the sidebar). +Below is a quick reference list of commands. See the [full Nanook documentation](https://lukes.github.io/nanook/2.3.0/) for a searchable detailed description of every class and method, what the arguments mean, and example responses (Tip: the classes are listed under the "**Nanook** < Object" item in the sidebar). ### Wallets -See the [full documentation for Nanook::Wallet](https://lukes.github.io/nanook/2.2.0/Nanook/Wallet.html) for a detailed description of each method and example responses. +See the [full documentation for Nanook::Wallet](https://lukes.github.io/nanook/2.3.0/Nanook/Wallet.html) for a detailed description of each method and example responses. #### Create wallet: ```ruby Nanook.new.wallet.create @@ -160,10 +160,14 @@ wallet.account.create wallet.accounts wallet.contains?(account_id) +wallet.default_representative +wallet.change_default_representative(new_representative) +wallet.info +wallet.info(unit: :raw) wallet.export wallet.locked? wallet.unlock(password) wallet.change_password(password) @@ -183,11 +187,11 @@ Nanook.new.wallet(wallet_id).account.create(5) ``` #### Working with a single account: -See the [full documentation for Nanook::WalletAccount](https://lukes.github.io/nanook/2.2.0/Nanook/WalletAccount.html) for a detailed description of each method and example responses. +See the [full documentation for Nanook::WalletAccount](https://lukes.github.io/nanook/2.3.0/Nanook/WalletAccount.html) for a detailed description of each method and example responses. ```ruby account = Nanook.new.wallet(wallet_id).account(account_id) account.balance @@ -223,11 +227,11 @@ account.destroy ``` #### Working with any account (not necessarily in your wallet): -See the [full documentation for Nanook::Account](https://lukes.github.io/nanook/2.2.0/Nanook/Account.html) for a detailed description of each method and example responses. +See the [full documentation for Nanook::Account](https://lukes.github.io/nanook/2.3.0/Nanook/Account.html) for a detailed description of each method and example responses. ```ruby account = Nanook.new.account(account_id) account.balance @@ -256,11 +260,11 @@ account.weight ``` ### Blocks -See the [full documentation for Nanook::Block](https://lukes.github.io/nanook/2.2.0/Nanook/Block.html) for a detailed description of each method and example responses. +See the [full documentation for Nanook::Block](https://lukes.github.io/nanook/2.3.0/Nanook/Block.html) for a detailed description of each method and example responses. ```ruby block = Nanook.new.block(block_id) block.info # Verified blocks in the ledger @@ -283,10 +287,10 @@ block.is_valid_work?(work_id) ``` ### Managing your nano node -See the [full documentation for Nanook::Node](https://lukes.github.io/nanook/2.2.0/Nanook/Node.html) for a detailed description of each method and example responses. +See the [full documentation for Nanook::Node](https://lukes.github.io/nanook/2.3.0/Nanook/Node.html) for a detailed description of each method and example responses. ```ruby node = Nanook.new.node node.account_count