Skip to content

Commit

Permalink
Fix method comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamaguchi committed Nov 23, 2023
1 parent ba5d19e commit 98fd968
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/glueby/internal/wallet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def tokens(color_id = nil, only_finalized = true, page = 1, per = 25)
end

# @param color_id [Tapyrus::Color::ColorIdentifier] The color identifier associated with UTXO.
# It will return only UTXOs with specified color_id. If color_id is nil, it will return all UTXOs.
# If Tapyrus::Color::ColorIdentifier.default is specified, it will return uncolored UTXOs(i.e. TPC)
# @param only_finalized [Boolean] The flag to get a UTXO with status only finalized
# @param label [String] This label is used to filtered the UTXOs with labeled if a key or Utxo is labeled.
# - If label is nil or :unlabeled, only unlabeled UTXOs will be returned.
Expand Down
5 changes: 4 additions & 1 deletion lib/glueby/internal/wallet/abstract_wallet_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def balance(wallet_id, only_finalized = true)
# Returns all tokens with specified color_id
#
# @param [String] wallet_id - The wallet id that is offered by `create_wallet()` method.
# @param [String] color_id - The color id
# @param [Tapyrus::Color::ColorIdentifier] color_id The color identifier associated with UTXO.
# It will return only UTXOs with specified color_id. If color_id is nil, it will return all UTXOs.
# If Tapyrus::Color::ColorIdentifier.default is specified, it will return uncolored UTXOs(i.e. TPC)
# @param [Boolean] only_finalized - includes only finalized UTXO value if it
# is true. Default is true.
# @param [Integer] page - The page parameter is responsible for specifying the current page being viewed within the paginated results. default is 1.
Expand All @@ -84,6 +86,7 @@ def tokens(wallet_id, color_id = nil, only_finalized = true, page = 1, per = 25)
# @param [String] wallet_id - The wallet id that is offered by `create_wallet()` method.
# @param [Tapyrus::Color::ColorIdentifier] color_id - The color identifier.
# It will return only UTXOs with specified color_id. If color_id is nil, it will return all UTXOs.
# If Tapyrus::Color::ColorIdentifier.default is specified, it will return uncolored UTXOs(i.e. TPC)
# @param [Boolean] only_finalized - The UTXOs includes only finalized UTXO value if it
# is true. Default is true.
# @param [String] label - Label for filtering UTXOs
Expand Down

0 comments on commit 98fd968

Please sign in to comment.