cbstripe

Class APIRequestor

lucee.Component
    extended by cbstripe.APIRequestor
Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any path


    • access = public
    • returntype = any
    • inject = Path@cbstripe
    true false
    any populator


    • access = public
    • returntype = any
    • inject = wirebox:populator
    true false
    any publishableKey


    • access = public
    • returntype = any
    • inject = coldbox:setting:publishableKey@cbstripe
    true false
    any secretKey


    • access = public
    • returntype = any
    • inject = coldbox:setting:secretKey@cbstripe
    true false
    any wirebox


    • access = public
    • returntype = any
    • inject = wirebox
    true false
    Method Summary
    any request([any endpoint], [any method='GET'], [any headers='[runtime expression]'], [any params='[runtime expression]'], [any fields='[runtime expression]'], [any body=''])
     
    Methods inherited from class lucee.Component
    None

    Property Detail

    path

    property any path

    Attributes:
    access - public
    required - false
    returntype - any
    inject - Path@cbstripe
    serializable - true

    populator

    property any populator

    Attributes:
    access - public
    required - false
    returntype - any
    inject - wirebox:populator
    serializable - true

    publishableKey

    property any publishableKey

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:setting:publishableKey@cbstripe
    serializable - true

    secretKey

    property any secretKey

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:setting:secretKey@cbstripe
    serializable - true

    wirebox

    property any wirebox

    Attributes:
    access - public
    required - false
    returntype - any
    inject - wirebox
    serializable - true

    Method Detail

    request

    public any request([any endpoint], [any method='GET'], [any headers='[runtime expression]'], [any params='[runtime expression]'], [any fields='[runtime expression]'], [any body=''])

    Parameters:
    endpoint
    method
    headers
    params
    fields
    body