module Patreon::Schemas::Pledge

Public Class Methods

default_attributes() click to toggle source
# File lib/patreon/schemas/pledge.rb, line 28
def default_attributes
  [
    Attributes::AMOUNT_CENTS,
    Attributes::DECLINED_SINCE,
    Attributes::CREATED_AT,
    Attributes::PLEDGE_CAP_CENTS,
    Attributes::PATRON_PAYS_FEES,
  ]
end
default_relationships() click to toggle source
# File lib/patreon/schemas/pledge.rb, line 38
def default_relationships
  [
    Relationships::PATRON,
    Relationships::REWARD,
    Relationships::CREATOR,
    Relationships::ADDRESS,
    Relationships::PLEDGE_VAT_LOCATION,
  ]
end