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

stackone_hris_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stackone_hris_client

  • 1.7.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

stackone_hris_client

StackOneHRIS - the Ruby gem for the StackOne Unified API - HRIS

The documentation for the StackOne Unified API - HRIS

This SDK is automatically generated by the OpenAPI Generator project:

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

Installation

Build a gem

To build the Ruby code into a gem:

gem build stackone_hris_client.gemspec

Then either install the gem locally:

gem install ./stackone_hris_client-1.7.1.gem

(for development, run gem install --dev ./stackone_hris_client-1.7.1.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 'stackone_hris_client', '~> 1.7.1'

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 'stackone_hris_client', :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 'stackone_hris_client'

# Setup authorization
StackOneHRIS.configure do |config|
  # Configure HTTP basic authorization: basic
  config.api_key_token = 'YOUR API KEY'
end

api_instance = StackOneHRIS::AccountsApi.new
id = 'id_example' # String |

begin
  #Delete Account
  result = api_instance.accounts_delete(id)
  p result
rescue StackOneHRIS::ApiError => e
  puts "Exception when calling AccountsApi->accounts_delete: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.stackone.com

ClassMethodHTTP requestDescription
StackOneHRIS::AccountsApiaccounts_deleteDELETE /accounts/{id}Delete Account
StackOneHRIS::AccountsApiaccounts_getGET /accounts/{id}Get Account
StackOneHRIS::AccountsApiaccounts_listGET /accountsList Accounts
StackOneHRIS::AccountsApiaccounts_meta_getGET /accounts/{id}/metaGet meta information of the account
StackOneHRIS::CompaniesApihris_companies_getGET /unified/hris/companies/{id}Get Company
StackOneHRIS::CompaniesApihris_companies_listGET /unified/hris/companiesList Companies
StackOneHRIS::ConnectSessionsApiconnect_sessions_authenticatePOST /connect_sessions/authenticateAuthenticate Session
StackOneHRIS::ConnectSessionsApiconnect_sessions_createPOST /connect_sessionsCreate Session
StackOneHRIS::EmployeesApiemployee_createPOST /unified/hris/employeesCreates an employee
StackOneHRIS::EmployeesApiemployee_replacePUT /unified/hris/employees/{id}Replaces an employee
StackOneHRIS::EmployeesApiemployee_updatePATCH /unified/hris/employees/{id}Updates an employee
StackOneHRIS::EmployeesApihris_employees_getGET /unified/hris/employees/{id}Get Employee
StackOneHRIS::EmployeesApihris_employees_listGET /unified/hris/employeesList Employees
StackOneHRIS::EmploymentsApihris_employments_getGET /unified/hris/employments/{id}Get Employment
StackOneHRIS::EmploymentsApihris_employments_listGET /unified/hris/employmentsList Employments
StackOneHRIS::LocationsApihris_locations_getGET /unified/hris/locations/{id}Get location
StackOneHRIS::LocationsApihris_locations_listGET /unified/hris/locationsList locations

Documentation for Models

Documentation for Authorization

Authentication schemes defined for the API:

basic

  • Type: HTTP basic authentication

FAQs

Package last updated on 16 Nov 2023

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