Sha256: eae56f20d277bc6cedca003d79804d4b77429fc7f43838a7f953236ddd5063ce

Contents?: true

Size: 374 Bytes

Versions: 15

Compression:

Stored size: 374 Bytes

Contents

module EventbriteSDK
  class Resource
    module Operations
      module List
        def list(query: {})
          ResourceList.new(
            key: path.split('/').first,
            object_class: EventbriteSDK.const_get(name.split('::').last),
            query: query,
            url_base: new.path.gsub(/\/\Z/, '')
          )
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
eventbrite_sdk-3.6.0 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.4.0 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.3.1 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.3.0 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.2.0 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.6 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.5 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.4 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.3 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.2 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.1 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.1.0 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.0.11 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.0.10 lib/eventbrite_sdk/resource/operations/list.rb
eventbrite_sdk-3.0.9 lib/eventbrite_sdk/resource/operations/list.rb