Class: Ibanity::PontoConnect::OnboardingDetails

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/ibanity/api/ponto_connect/onboarding_details.rb

Class Method Summary collapse

Methods inherited from BaseResource

create_by_uri, create_file_by_uri, destroy_by_uri, find_by_uri, find_file_by_uri, find_raw_by_uri, #initialize, list_by_uri, #reload!, update_by_uri

Constructor Details

This class inherits a constructor from Ibanity::BaseResource

Class Method Details

.create(client_access_token:, **attributes) ⇒ Object



4
5
6
7
# File 'lib/ibanity/api/ponto_connect/onboarding_details.rb', line 4

def self.create(client_access_token:, **attributes)
  uri = Ibanity.ponto_connect_api_schema["onboardingDetails"]
  create_by_uri(uri: uri, resource_type: "onboardingDetails", attributes: attributes, customer_access_token: client_access_token)
end