Skip to content

Commit

Permalink
added GetConfigCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
t3ran13 committed May 15, 2018
1 parent ed46cdb commit 33bef25
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
22 changes: 16 additions & 6 deletions Commands/Commands.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ class Commands implements CommandInterface
'0' => ['integer'], //block_id
]
],
'get_config' => [
'apiName' => 'database_api',
'fields' => [
]
],
'get_content_replies' => [
'apiName' => 'database_api',
'fields' => [
Expand Down Expand Up @@ -280,17 +285,22 @@ class Commands implements CommandInterface
'fields' => [
]
],
'get_content' => [
'apiName' => 'social_network',
'get_block_header' => [
'apiName' => 'database_api',
'fields' => [
'0' => ['string'], //author
'1' => ['string'], //permlink
'0' => ['integer'], //block_id
]
],
'get_block_header' => [
'get_config' => [
'apiName' => 'database_api',
'fields' => [
'0' => ['integer'], //block_id
]
],
'get_content' => [
'apiName' => 'social_network',
'fields' => [
'0' => ['string'], //author
'1' => ['string'], //permlink
]
],
'get_content_replies' => [
Expand Down
11 changes: 11 additions & 0 deletions Commands/Single/GetConfigCommand.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php


namespace GrapheneNodeClient\Commands\Single;


class GetConfigCommand extends CommandAbstract
{
/** @var string */
protected $method = 'get_config';
}

0 comments on commit 33bef25

Please sign in to comment.