This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Webservices | |
| module Responses | |
| module GetOrder | |
| class GetOrderResponse | |
| include Webservices::Responses::ResponseErrorHandler, CulturaldistrictApp::OrderDetails | |
| attr_reader :order, :line_items, :shipping_address, :contributions, :gift_cards, | |
| :redeemed_gift_cards, :gift_card_fees, :parking_line_items, :restaurant_line_items, :package_line_items, | |
| :flex_package_line_items, :package_parking_line_items, :package_restaurant_line_items, :fee_line_items, | |
| :super_package_line_items |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (int i = 0; i < dummyPkgs.Count; i++) | |
| { | |
| DataRow rslt_row = rslt.NewRow(); | |
| rslt_row[col_pkg_no] = dummyPkgs[i].Row["package_no"]; | |
| rslt_row[col_pkg_desc] = dummyPkgs[i].Row["description"]; | |
| decimal[] zone_prices = new decimal[ZONE_COUNT]; | |
| for (int j = 0; j < ZONE_COUNT; j++) | |
| { | |
| zone_prices[j] = 0M; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Set Primary address a.k.a Billing Address [ugh] | |
| class BillingInformationController < ApplicationController | |
| no_login_required | |
| before_filter :must_be_at_least_an_authenticated_user | |
| before_filter :cart_should_not_be_empty | |
| radiant_layout 'normal' | |
| helper :users, :orders |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class GithubAPI | |
| require 'net/http' | |
| require 'net/https' | |
| require 'uri' | |
| require 'open-uri' | |
| # Get the configuration values from APP_CONFIG | |
| Token = APP_CONFIG['github_api_token'] | |
| Base_Url = APP_CONFIG['github_api_url'] | |
| User = APP_CONFIG['github_api_user'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Text.RegularExpressions; | |
| namespace website.lib | |
| { | |
| public enum BadwordSensitivity | |
| { | |
| low = 1, medium = 2, high = 3 |
NewerOlder