Skip to content

Commit

Permalink
Fix: Add id && status to public blockchain currency entity
Browse files Browse the repository at this point in the history
  • Loading branch information
chumaknadya authored and mnaichuk committed Aug 11, 2021
1 parent 432b278 commit 38a39a7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 0 additions & 16 deletions app/api/v2/admin/entities/blockchain_currency.rb
Expand Up @@ -5,22 +5,6 @@ module V2
module Admin
module Entities
class BlockchainCurrency < API::V2::Entities::BlockchainCurrency
expose(
:id,
documentation: {
type: Integer,
desc: 'Unique identifier of blockchain currency'
}
)

expose(
:status,
documentation: {
type: String,
desc: 'Blockchain currency display status (enabled/disabled/hidden).'
}
)

expose(
:options,
documentation: {
Expand Down
16 changes: 16 additions & 0 deletions app/api/v2/entities/blockchain_currency.rb
Expand Up @@ -4,6 +4,22 @@ module API
module V2
module Entities
class BlockchainCurrency < Base
expose(
:id,
documentation: {
type: Integer,
desc: 'Unique identifier of blockchain currency'
}
)

expose(
:status,
documentation: {
type: String,
desc: 'Blockchain currency display status (enabled/disabled/hidden).'
}
)

expose(
:blockchain_key,
documentation:{
Expand Down

0 comments on commit 38a39a7

Please sign in to comment.