Class: SynsbasenApi::Version
- Extended by:
 - Findable, Searchable
 
- Defined in:
 - lib/synsbasen_api/resources/version.rb
 
Overview
The Version class provides methods for interacting with version-related
endpoints in the Synsbasen API.
Constant Summary
Constants inherited from Client
Class Method Summary collapse
- 
  
    
      .all(variant_id, expand: [])  ⇒ ApiResponse 
    
    
  
  
  
  
  
  
  
  
  
    
Retrieves information about all versions associated with a given variant.
 
Methods included from Findable
Methods included from Searchable
Methods inherited from Client
Class Method Details
.all(variant_id, expand: []) ⇒ ApiResponse
Retrieves information about all versions associated with a given variant.
      16 17 18  | 
    
      # File 'lib/synsbasen_api/resources/version.rb', line 16 def all(variant_id, expand: []) get("/v1/variants/#{variant_id}/#{resource_name}", expand: ) end  |