Class: ChatWork::EpiloguePart
- Inherits:
 - 
      Faraday::Parts::EpiloguePart
      
        
- Object
 - Faraday::Parts::EpiloguePart
 - ChatWork::EpiloguePart
 
 
- Defined in:
 - lib/chatwork/multipart.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(boundary)  ⇒ EpiloguePart 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
rubocop:disable Lint/MissingSuper.
 
Constructor Details
#initialize(boundary) ⇒ EpiloguePart
rubocop:disable Lint/MissingSuper
      18 19 20 21 22 23  | 
    
      # File 'lib/chatwork/multipart.rb', line 18 def initialize(boundary) # rubocop:disable Lint/MissingSuper # NOTE: ChatWork doesn't accepts ending "\r\n\r\n" of payload... # @part = "--#{boundary}--\r\n\r\n" @part = "--#{boundary}--\r\n" @io = StringIO.new(@part) end  |