Class: NearApi::Permissions::FunctionCallPermission
- Inherits:
-
Object
- Object
- NearApi::Permissions::FunctionCallPermission
- Includes:
- Borsh
- Defined in:
- lib/near_api/permissions/function_call_permission.rb
Instance Method Summary collapse
-
#initialize(allowance, receiver_id, method_names) ⇒ FunctionCallPermission
constructor
A new instance of FunctionCallPermission.
Constructor Details
#initialize(allowance, receiver_id, method_names) ⇒ FunctionCallPermission
Returns a new instance of FunctionCallPermission.
13 14 15 16 17 |
# File 'lib/near_api/permissions/function_call_permission.rb', line 13 def initialize(allowance, receiver_id, method_names) @allowance = allowance @receiver_id = receiver_id @method_names = method_names end |