Class: PaypalServerSdk::PatchOp

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal_server_sdk/models/patch_op.rb

Overview

The operation.

Constant Summary collapse

PATCH_OP =
[
  # TODO: Write general description for ADD
  ADD = 'add'.freeze,

  # TODO: Write general description for REMOVE
  REMOVE = 'remove'.freeze,

  # TODO: Write general description for REPLACE
  REPLACE = 'replace'.freeze,

  # TODO: Write general description for MOVE
  MOVE = 'move'.freeze,

  # TODO: Write general description for COPY
  COPY = 'copy'.freeze,

  # TODO: Write general description for TEST
  TEST = 'test'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



29
30
31
32
33
# File 'lib/paypal_server_sdk/models/patch_op.rb', line 29

def self.validate(value)
  return false if value.nil?

  true
end