Sha256: d6b8affeeb9ac6cdb3a3a3cdee0adf570e60ad8f0195db74a5dc0e1a74ee207c

Contents?: true

Size: 934 Bytes

Versions: 17

Compression:

Stored size: 934 Bytes

Contents

module Vimeo
  module Advanced
    class GroupEvents < Vimeo::Advanced::Base

      # Returns a list of events from a group for a specific month.
      create_api_method :get_month,
                        "vimeo.groups.events.getMonth",
                        :required => [:group_id],
                        :optional => [:page, :per_page, :month, :year]

      # Returns a list of all past events from a group.
      create_api_method :get_past,
                        "vimeo.groups.events.getPast",
                        :required => [:group_id],
                        :optional => [:page, :per_page]
      
      # Returns a list of all upcoming events from a group.
      create_api_method :get_upcoming,
                        "vimeo.groups.events.getUpcoming",
                        :required => [:group_id],
                        :optional => [:page, :per_page]

    end # GroupEvents
  end # Advanced
end # Vimeo

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
vimeo-1.5.4 lib/vimeo/advanced/group_events.rb
vimeo-1.5.3 lib/vimeo/advanced/group_events.rb
slainer68_vimeo-1.5.2 lib/vimeo/advanced/group_events.rb
vimeo-1.5.2 lib/vimeo/advanced/group_events.rb
vimeo-1.5.1 lib/vimeo/advanced/group_events.rb
vimeo-1.5.0 lib/vimeo/advanced/group_events.rb
slainer68_vimeo-1.4.4 lib/vimeo/advanced/group_events.rb
slainer68_vimeo-1.4.3 lib/vimeo/advanced/group_events.rb
vimeo-1.4.3 lib/vimeo/advanced/group_events.rb
vimeo-1.4.2 lib/vimeo/advanced/group_events.rb
vimeo-1.4.1 lib/vimeo/advanced/group_events.rb
vimeo-1.4.0 lib/vimeo/advanced/group_events.rb
vimeo-1.3.0 lib/vimeo/advanced/group_events.rb
vimeo-1.2.2 lib/vimeo/advanced/group_events.rb
vimeo-1.2.0 lib/vimeo/advanced/group_events.rb
vimeo-1.1.0 lib/vimeo/advanced/group_events.rb
vimeo-1.0.0 lib/vimeo/advanced/group_events.rb