Skip to content

Commit

Permalink
Add missing actions to payment methods
Browse files Browse the repository at this point in the history
  • Loading branch information
greggroth authored and iloveitaly committed Feb 22, 2015
1 parent 90435d2 commit 800cb4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/netsuite/records/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ class PaymentMethod
include Support::RecordRefs
include Support::Actions

actions :get
actions :add, :delete, :get, :get_list, :search, :search_more_with_id,
:update, :upsert, :upsert_list

fields :credit_card, :express_checkout_arrangement, :is_debit_card, :is_inactive, :is_online, :name,
:pay_pal_email_address, :undep_funds, :use_express_checkout
Expand Down

4 comments on commit 800cb4f

@prburke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
When I try to use search on a PaymentMethod I get the following error:

...lib/netsuite/support/actions.rb:32:in action': uninitialized constant NetSuite::Actions::SearchMoreWithId (NameError) from .../lib/netsuite/support/actions.rb:15:inblock in actions'

Was SearchMoreWithId removed intentionally at some point?...

8c9431f

@greggroth @iloveitaly

@greggroth
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in faabd7a

It looks like the errant line is here. I'll open a PR to remove references to this removed action.

@greggroth
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prburke
Copy link
Contributor

@prburke prburke commented on 800cb4f Feb 24, 2015 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.