Class: NearApi::Permissions::FunctionCallPermission

Inherits:
Object
  • Object
show all
Includes:
Borsh
Defined in:
lib/near_api/permissions/function_call_permission.rb

Instance Method Summary collapse

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