Class: ODDB::Html::State::Drugs::Admin::NewPackage

Inherits:
Package show all
Defined in:
lib/oddb/html/state/drugs/admin/package.rb

Constant Summary

Constants inherited from Package

Package::VIEW

Constants inherited from Package

Package::LIMIT, Package::VIEW

Constants inherited from Global

Global::GLOBAL_MAP, Global::LIMIT

Instance Attribute Summary

Attributes inherited from Global

#passed_turing_test

Attributes included from LoginMethods

#desired_input

Instance Method Summary collapse

Methods inherited from Package

#ajax_create_part, #ajax_delete_part, #check_model, #delete, #package, #update

Methods inherited from Package

#_package

Methods inherited from Global

transparent_login

Methods included from Events

#_compare, #_complete, #_explain_ddd_price, #_explain_price, #_fachinfo, #_feedback, #_package, #_package_by_code, #_package_infos, #_patinfo, #_products, #_remote, #_remote_comparables, #_remote_infos, #_remote_package, #_remote_packages, #_search, #_search_append_products, #_search_append_sequences, #_search_by, #_search_local, #_search_remote, #_sequence_by_code, #_tax_factor, #compare_remote, #ddd, #limited?, #navigation, #search

Methods inherited from Global

#_download, #compare, #explain_ddd_price, #explain_price, #fachinfo, #feedback, #grant_download, #home, #limit_state, #limited?, #logout, #method_missing, #navigation, #package, #package_infos, #partitioned_keys, #patinfo, #proceed_download, #proceed_export, #proceed_poweruser, #product, #products, #remote_infos, #sequence

Methods included from PayPal::Checkout

#ajax_autofill, #checkout, #checkout_keys, #checkout_mandatory, #create_user

Methods included from PayPal::Download

#collect

Methods included from Util::Download

compressed_download, #compressed_download

Methods included from LoginMethods

#login_

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ODDB::Html::State::Global

Instance Method Details

#_update(input) ⇒ Object

disable redirector



179
180
181
182
183
184
# File 'lib/oddb/html/state/drugs/admin/package.rb', line 179

def _update input
  unless @errors[:code_cid]
    super 
    Package.new(@session, @model)
  end
end

#direct_eventObject



176
177
178
# File 'lib/oddb/html/state/drugs/admin/package.rb', line 176

def direct_event
  # disable redirector
end