Class: Appwrite::Models::AlgoSha
- Inherits:
 - 
      Object
      
        
- Object
 - Appwrite::Models::AlgoSha
 
 
- Defined in:
 - lib/appwrite/models/algo_sha.rb
 
Instance Attribute Summary collapse
- 
  
    
      #type  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute type.
 
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(type:)  ⇒ AlgoSha 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AlgoSha.
 - #to_map ⇒ Object
 
Constructor Details
#initialize(type:) ⇒ AlgoSha
Returns a new instance of AlgoSha.
      8 9 10 11 12  | 
    
      # File 'lib/appwrite/models/algo_sha.rb', line 8 def initialize( type: ) @type = type end  | 
  
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
      6 7 8  | 
    
      # File 'lib/appwrite/models/algo_sha.rb', line 6 def type @type end  | 
  
Class Method Details
Instance Method Details
#to_map ⇒ Object
      20 21 22 23 24  | 
    
      # File 'lib/appwrite/models/algo_sha.rb', line 20 def to_map { "type": @type } end  |