Skip to content

Instantly share code, notes, and snippets.

@Epigene
Created September 22, 2015 07:34
Show Gist options
  • Save Epigene/bff8782247a74631368b to your computer and use it in GitHub Desktop.
Save Epigene/bff8782247a74631368b to your computer and use it in GitHub Desktop.
@pipeline.build_paymode_statistics_hash("2015-01-01", "2015-12-12")
{
#<PipelinePaymentSystem:0x007f885982bed0> { :id => 111, :status => "active", :system_type => "base", :amount => 2, :pipeline_id => 6, :payment_system_id => 6, :currency_id => 1, :created_at => Mon, 21 Sep 2015 12:33:41 EEST +03:00, :updated_at => Mon, 21 Sep 2015 12:33:42 EEST +03:00, :app_offer_id => nil, :direct_sell_type => "levels2_only", :design_file => nil } => {
:started => 4,
:paid => 0,
:cr => 0.0,
:retry_seen => 0,
:retry_seen_percent => 0.0,
:retried => 0,
:retried_percent => 0,
:paid_in_retry => 0,
:paid_in_retry_percent => 0
},
#<PipelinePaymentSystem:0x007f885982bc50> { :id => 109, :status => "active", :system_type => "base", :amount => 2, :pipeline_id => 6, :payment_system_id => 5, :currency_id => 1, :created_at => Mon, 21 Sep 2015 12:33:41 EEST +03:00, :updated_at => Mon, 21 Sep 2015 12:33:42 EEST +03:00, :app_offer_id => nil, :direct_sell_type => "levels2_only", :design_file => nil } => {
:started => 2,
:paid => 0,
:cr => 0.0,
:retry_seen => 0,
:retry_seen_percent => 0.0,
:retried => 0,
:retried_percent => 0,
:paid_in_retry => 0,
:paid_in_retry_percent => 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment