Class: PaypalServerSdk::LinkHttpMethod

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

Overview

The HTTP method required to make the related call.

Constant Summary collapse

[
  # TODO: Write general description for GET
  GET = 'GET'.freeze,

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

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

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

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

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

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

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

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



35
36
37
38
39
# File 'lib/paypal_server_sdk/models/link_http_method.rb', line 35

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

  true
end