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.



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

def campaigns
  @campaigns
end

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

Returns the value of attribute report_specification.



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

def report_specification
  @report_specification
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :campaigns, :report_specification ]

Returns:

  • ([ :campaigns, :report_specification ])


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

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

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



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

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