netsuite 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module NetSuite
|
|
10
10
|
|
11
11
|
def fields(*args)
|
12
12
|
if args.empty?
|
13
|
-
@fields ||=
|
13
|
+
@fields ||= Set.new
|
14
14
|
else
|
15
15
|
args.each do |arg|
|
16
16
|
field arg
|
@@ -20,7 +20,7 @@ module NetSuite
|
|
20
20
|
|
21
21
|
def field(name)
|
22
22
|
name_sym = name.to_sym
|
23
|
-
|
23
|
+
fields << name_sym
|
24
24
|
define_method(name_sym) do
|
25
25
|
attributes[name_sym]
|
26
26
|
end
|
@@ -10,7 +10,7 @@ module NetSuite
|
|
10
10
|
:consol_aging, :consol_balance, :consol_days_overdue, :consol_deposit_balance, :consol_overdue_balance,
|
11
11
|
:consol_unbilled_orders, :contact_roles_list, :contrib_pct, :credit_cards_list, :credit_hold_override, :credit_limit,
|
12
12
|
:currency, :currency_list, :custom_field_list, :date_created, :days_overdue, :default_address,
|
13
|
-
:deposit_balance, :download_list, :email, :email_preference, :email_transactions, :end_date, :entity_id,
|
13
|
+
:deposit_balance, :download_list, :email, :email_preference, :email_transactions, :end_date, :entity_id,
|
14
14
|
:estimated_budget, :fax, :fax_transactions, :first_name, :first_visit, :give_access, :global_subscription_status,
|
15
15
|
:group_pricing_list, :home_phone, :image, :is_budget_approved, :is_inactive, :is_person, :item_pricing_list, :keywords,
|
16
16
|
:language, :last_modified, :last_name, :last_page_visited, :last_visit, :lead_source, :middle_name, :mobile_phone,
|
data/lib/netsuite/version.rb
CHANGED
metadata
CHANGED