Class: Calendly::InviteesCounter

Inherits:
Object
  • Object
show all
Includes:
ModelUtils
Defined in:
lib/calendly/models/invitees_counter.rb

Overview

Calendly’s invitees counter model.

Constant Summary

Constants included from ModelUtils

ModelUtils::UUID_FORMAT

Instance Attribute Summary collapse

Method Summary

Methods included from ModelUtils

#client, #id, included, #initialize, #inspect

Instance Attribute Details

#activeInteger

Returns number of active invitees in this event.

Returns:

  • (Integer)

    number of active invitees in this event.



12
13
14
# File 'lib/calendly/models/invitees_counter.rb', line 12

def active
  @active
end

#limitInteger

Returns max invitees in this event.

Returns:

  • (Integer)

    max invitees in this event.



15
16
17
# File 'lib/calendly/models/invitees_counter.rb', line 15

def limit
  @limit
end

#totalInteger

Returns number of total invitees in this event.

Returns:

  • (Integer)

    number of total invitees in this event.



9
10
11
# File 'lib/calendly/models/invitees_counter.rb', line 9

def total
  @total
end