Class: Evvnt::Report

Inherits:
Base
  • Object
show all
Defined in:
lib/evvnt/report.rb

Overview

Public: Returns report for a given Event from the API.

Examples

Evvnt::Report.find(event_id: '...')

Constant Summary

Constants included from PathHelpers

PathHelpers::PARAM_REGEX

Constants included from Attributes

Attributes::DATETIME_STRING_REGEX, Attributes::DATE_STRING_REGEX

Constants included from Api

Api::HTTP_VERBS

Constants included from Logging

Logging::TAG_NAME

Instance Attribute Summary

Attributes included from Attributes

#attributes

Instance Method Summary collapse

Methods included from PathHelpers

#resource_name, #singular_resource?

Methods included from Actions

#first, #last

Methods included from Attributes

#initialize, #unique_identifier

Methods included from Persistence

#new_record?, #persisted?, #save

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Evvnt::Attributes

Instance Method Details

#showObject

GET /events/:event_id/report View report data for my event



16
# File 'lib/evvnt/report.rb', line 16

define_action :show