Class: Blockfrostruby::IPFS
- Includes:
- IPFSEndpoints
- Defined in:
- lib/blockfrost-ruby.rb
Constant Summary
Constants included from Blockfrostruby
Instance Attribute Summary
Attributes inherited from Net
Instance Method Summary collapse
-
#initialize(project_id, config = {}) ⇒ Object
constructor
Create an instanse of IPFS object.
Methods included from IPFSEndpoints
#add_a_file, #get_localstorage_pinned_object, #get_localstorage_pinned_objects_list, #get_relay_to_ipfs_gateway, #pin_an_object, #remove_pinned_object
Methods included from Request
get_response, post_file, post_request_cbor, post_request_raw
Methods included from Params
Methods included from Validator
validate_init_params, validate_params
Methods included from Configuration
Methods included from CustomEndpoints
#get_custom_url, #get_help_info
Constructor Details
#initialize(project_id, config = {}) ⇒ Object
Create an instanse of IPFS object. Using of SDK is a calling methods on such object.
117 118 119 120 |
# File 'lib/blockfrost-ruby.rb', line 117 def initialize(project_id, config = {}) super @url = IPFS_URL end |