Sha256: 61e7057078148235a2a3d9e16e01246cb8948c0964d7fb600f292c9c3d24c5d0

Contents?: true

Size: 369 Bytes

Versions: 4

Compression:

Stored size: 369 Bytes

Contents

class <%=delivery_receipt_model_name.pluralize%>Controller < ApplicationController
  
  def report
    @<%= delivery_receipt_model_name.underscore %> = <%=delivery_receipt_model_name%>.find_by_tracking_id(params[:trackingid])
    @<%= delivery_receipt_model_name.underscore %>.status = params[:status]
    @<%= delivery_receipt_model_name.underscore %>.save
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jnstq-acts_as_sms-0.1.0 rails_generators/short_message_service/templates/delivery_receipts_controller.rb
jnstq-acts_as_sms-0.1.1 rails_generators/short_message_service/templates/delivery_receipts_controller.rb
jnstq-acts_as_sms-0.1.3 rails_generators/short_message_service/templates/delivery_receipts_controller.rb
jnstq-acts_as_sms-0.1.4 rails_generators/short_message_service/templates/delivery_receipts_controller.rb