Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

yapstone-so

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yapstone-so

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

yapstone-so

Yapstone - the Ruby gem for the Yapstone Staged On-Boarding Services

Set of API's that allow clients to onboard with Yapstone.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 2.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build yapstone-so.gemspec

Then either install the gem locally:

gem install ./yapstone-so-1.0.0.gem

(for development, run gem install --dev ./yapstone-so-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'yapstone-so', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'yapstone-so', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'yapstone-so'

# Setup authorization
Yapstone.configure do |config|
  # Configure Bearer authorization (JWT): Bearer
  config.access_token = 'YOUR_BEARER_TOKEN'
end

api_instance = Yapstone::AssetsApi.new
asset_request = Yapstone::AssetRequest.new # AssetRequest | The Asset Request Resource to be created.

begin
  result = api_instance.create_asset(asset_request)
  p result
rescue Yapstone::ApiError => e
  puts "Exception when calling AssetsApi->create_asset: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api-prod-sandbox.yapstone.com/v2/onboarding

ClassMethodHTTP requestDescription
Yapstone::AssetsApicreate_assetPOST /assets
Yapstone::AssetsApideactivate_assetDELETE /assets/{assetId}
Yapstone::AssetsApiget_assetGET /assets/{assetId}
Yapstone::AssetsApiget_assetsGET /assets
Yapstone::AssetsApiupdate_assetPUT /assets/{assetId}
Yapstone::AuthenticationApiauthenticate_partnerPOST /v1/oauth2/client_credential/accesstokenAuthenticate Partner
Yapstone::BusinessApplicantsApicreate_business_applicantPOST /business-applicants
Yapstone::BusinessApplicantsApideactivate_business_applicantDELETE /business-applicants/{applicantId}
Yapstone::BusinessApplicantsApiget_business_applicantGET /business-applicants/{applicantId}
Yapstone::BusinessApplicantsApiget_business_applicantsGET /business-applicants
Yapstone::BusinessApplicantsApiupdate_business_applicantPUT /business-applicants/{applicantId}
Yapstone::ContractsApicreate_contractPOST /contracts
Yapstone::ContractsApiget_all_contractsGET /contractsRetrieves all of contracts
Yapstone::ContractsApiget_contractGET /contracts/{contractId}
Yapstone::ContractsApiupdate_contractPUT /contracts/{contractId}
Yapstone::IndividualApplicantsApicreate_individual_applicantPOST /individual-applicants
Yapstone::IndividualApplicantsApideactivate_applicantDELETE /individual-applicants/{applicantId}
Yapstone::IndividualApplicantsApiget_individual_applicantGET /individual-applicants/{applicantId}
Yapstone::IndividualApplicantsApiget_individual_applicantsGET /individual-applicants
Yapstone::IndividualApplicantsApiupdate_individual_applicantPUT /individual-applicants/{applicantId}
Yapstone::InstrumentsApicreate_instrumentPOST /instruments
Yapstone::InstrumentsApideactivate_instrumentDELETE /instruments/{instrumentId}
Yapstone::InstrumentsApiget_instrumentGET /instruments/{instrumentId}
Yapstone::InstrumentsApiget_instrumentsGET /instruments
Yapstone::InstrumentsApiupdate_instrumentPUT /instruments/{instrumentId}
Yapstone::MarketplaceProductsApiget_marketplace_productGET /marketplace-products/{productId}Retrieves a MarketPlace Product
Yapstone::MarketplaceProductsApiupdate_marketplace_productPUT /marketplace-products/{productId}Update selctive MarketPlace Product details
Yapstone::MarketplacesApiadd_marketplace_productPOST /contracts/{contractId}/marketplaces
Yapstone::MarketplacesApideactivate_marketplace_productDELETE /contracts/{contractId}/marketplaces/{assetId}
Yapstone::MarketplacesApiget_marketplace_product_by_asset_idGET /contracts/{contractId}/marketplaces/{assetId}
Yapstone::MarketplacesApiupdate_marketplace_product_by_contract_idPUT /contracts/{contractId}/marketplaces/{assetId}
Yapstone::PayoutInstrumentsApicreate_payout_instrumentPOST /payout-instruments
Yapstone::PayoutInstrumentsApideactivate_payout_instrumentDELETE /payout-instruments/{payoutInstrumentId}
Yapstone::PayoutInstrumentsApiget_payout_instrumentGET /payout-instruments/{payoutInstrumentId}
Yapstone::PayoutInstrumentsApiget_payout_instrumentsGET /payout-instruments
Yapstone::PayoutInstrumentsApiupdate_payout_instrumentPUT /payout-instruments/{payoutInstrumentId}
Yapstone::PayoutProductsApiget_payout_productGET /payout-products/{productId}Retrieves a Payout Product
Yapstone::PayoutsApiadd_payout_productPOST /contracts/{contractId}/payouts
Yapstone::PayoutsApideactivate_payout_productDELETE /contracts/{contractId}/payouts/{payoutInstrumentId}
Yapstone::PayoutsApiget_payout_product_by_instrument_idGET /contracts/{contractId}/payouts/{payoutInstrumentId}
Yapstone::PayoutsApiupdate_payout_productPUT /contracts/{contractId}/payouts/{payoutInstrumentId}

Documentation for Models

Documentation for Authorization

Bearer

  • Type: Bearer authentication (JWT)

FAQs

Package last updated on 19 Jul 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc