Class: MaxApiClient::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/max_api_client/attachments.rb,
sig/max_api_client.rbs

Overview

Base type for all outgoing attachment payload wrappers.

Instance Method Summary collapse

Instance Method Details

#to_hHash[Symbol, untyped]

Returns:

  • (Hash[Symbol, untyped])

Raises:

  • (NotImplementedError)


6
7
8
# File 'lib/max_api_client/attachments.rb', line 6

def to_h
  raise NotImplementedError, "#{self.class} must implement #to_h"
end