Sha256: b1089d861bc3c2c1df90ca6abb83b4358f280aadc74ff2cb6a67202e05212ce4

Contents?: true

Size: 505 Bytes

Versions: 81

Compression:

Stored size: 505 Bytes

Contents

module Alula
  class UploadTouchpadBrandingProc < Alula::RpcResource
    class Response < Alula::RpcResponse
    end

    def self.call(dealer_id:, branding_file:)
      payload = {
        dealerId: dealer_id,
        brandingFile: branding_file
      }

      request(
        http_method: :post,
        path: '/upload/v1/dealers/branding/touchpad',
        payload: payload,
        handler: Response,
        wrap: false,
        opts: {
          multipart: true
        }
      )
    end
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
alula-ruby-2.6.1 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.6.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.5.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.4.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.3.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.2.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.1.2 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.1.1 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.1.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-2.0.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.5 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.4 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.3 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.2 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.1 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.10.0 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.9.17 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.9.16 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.9.15 lib/alula/procedures/upload_touchpad_branding_proc.rb
alula-ruby-1.9.14 lib/alula/procedures/upload_touchpad_branding_proc.rb