Class: Peddler::Reports::VendorCoupon::Report

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/reports/vendor_coupon.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#campaignsArray[Peddler::Reports::VendorCoupon::DetailsByCampaign] (readonly)

Returns the value of attribute campaigns.



94
95
96
# File 'sig/peddler/reports/vendor_coupon.rbs', line 94

def campaigns
  @campaigns
end

#report_specificationPeddler::Reports::VendorCoupon::ReportSpecification (readonly)

Returns the value of attribute report_specification.



95
96
97
# File 'sig/peddler/reports/vendor_coupon.rbs', line 95

def report_specification
  @report_specification
end

Class Method Details

.[](campaigns:, report_specification:) ⇒ Peddler::Reports::VendorCoupon::Report .[](arg0, arg1) ⇒ Peddler::Reports::VendorCoupon::Report



87
88
# File 'sig/peddler/reports/vendor_coupon.rbs', line 87

def self.[]: (campaigns: Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], report_specification: Peddler::Reports::VendorCoupon::ReportSpecification) -> Peddler::Reports::VendorCoupon::Report
| (Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], Peddler::Reports::VendorCoupon::ReportSpecification) -> Peddler::Reports::VendorCoupon::Report

.members[ :campaigns, :report_specification ]

Returns:

  • ([ :campaigns, :report_specification ])


90
# File 'sig/peddler/reports/vendor_coupon.rbs', line 90

def self.members: () -> [ :campaigns, :report_specification ]

.new(campaigns:, report_specification:) ⇒ Peddler::Reports::VendorCoupon::Report .new(arg0, arg1) ⇒ Peddler::Reports::VendorCoupon::Report



85
86
# File 'sig/peddler/reports/vendor_coupon.rbs', line 85

def self.new: (campaigns: Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], report_specification: Peddler::Reports::VendorCoupon::ReportSpecification) -> Peddler::Reports::VendorCoupon::Report
| (Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], Peddler::Reports::VendorCoupon::ReportSpecification) -> Peddler::Reports::VendorCoupon::Report

.parsePeddler::Reports::VendorCoupon::Report

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



92
# File 'sig/peddler/reports/vendor_coupon.rbs', line 92

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::VendorCoupon::Report

Instance Method Details

#members[ :campaigns, :report_specification ]

Returns:

  • ([ :campaigns, :report_specification ])


97
# File 'sig/peddler/reports/vendor_coupon.rbs', line 97

def members: () -> [ :campaigns, :report_specification ]

#to_h{ campaigns: Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], report_specification: Peddler::Reports::VendorCoupon::ReportSpecification }



98
# File 'sig/peddler/reports/vendor_coupon.rbs', line 98

def to_h: () -> { campaigns: Array[Peddler::Reports::VendorCoupon::DetailsByCampaign], report_specification: Peddler::Reports::VendorCoupon::ReportSpecification }