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

tsubaiso-sdk

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsubaiso-sdk

  • 1.2.17
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

Tsubaiso SDK (Ruby)

The Tsubaiso SDK is a library of methods that directly uses Tsubaiso API web endpoints.

API Endpoint Documentation

English

Japanese

Installation

Add this line to your application's Gemfile:

gem 'tsubaiso-sdk'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tsubaiso-sdk

Usage

> require 'tsubaiso_sdk'
> sdk = TsubaisoSDK.new(access_token: 'XXXXX')
> sdk.create_sale({ price: 10000, year: 2015, month: 10, realization_timestamp: "2015-10-01", customer_master_code: "101", dept_code: "Dept A", reason_master_code: "SALES", dc: 'd', memo: "500 widgets", tax_code: 1007})
=> {:status=>"200", :json=>{:ar_reason_master_id=>4403, :ar_receipt_attachments_count=>nil, :code=>nil, :created_at=>"2015/10/21 11:17:39 +0900", :customer_master_id=>31304, :dc=>"d", :dept_code=>"Dept A", :id=>280959, :memo=>"500 widgets", :realization_timestamp=>"2015/10/01", :regist_user_code=>"XXXXX", :sales_journal_dc_id=>1813416, :scheduled_memo=>nil, :scheduled_receive_timestamp=>nil, :update_user_code=>nil, :updated_at=>"2015/10/21 11:17:39 +0900", :account_code=>"500", :sales_price=>9260, :sales_tax=>740, :sales_tax_type=>1007}}

Testing

$ cd /~tsubaiso-sdk-1.0.0
$ export SDK_BASE_URL="https://tsubaiso.net"
$ export SDK_ACCESS_TOKEN="XXXXX"
$ rake

FAQs

Package last updated on 04 Sep 2024

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