{"action":"created","comment":{"url":"https://api.github.com/repos/workato/connector_sdk/pulls/comments/201527136","pull_request_review_id":136047018,"id":201527136,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTUyNzEzNg==","diff_hunk":"@@ -0,0 +1,719 @@\n+{\n+  title: 'Transmit SMS',\n+  connection: {\n+    fields: [\n+      {\n+        name: 'api_key',\n+        label: 'API Key',\n+        hint: \"Found in the SETTINGS section of your transmitsms.com account.\",\n+        optional: false\n+      },\n+      {\n+        name: 'secret',\n+        control_type: 'password',\n+        label: 'API Secret',\n+        hint: \"Found in the SETTINGS section of your transmitsms.com account. If blank enter a secret and click UPDATE PROFILE at the bottom of the page\",\n+        optional: false\n+      }\n+    ],\n+    authorization: {\n+      type: 'basic_auth',\n+    credentials: ->(connection) {\n+      user(connection['api_key'])\n+      password(connection['secret'])\n+    }\n+    }\n+  },\n+  object_definitions: {\n+    # please refer to https://support.burstsms.com/hc/en-us/articles/202500828-send-sms\n+    format_number_request: {\n+      fields: ->() {\n+        [\n+          {\n+            name: 'to',\n+            type: 'phone',\n+            control_type: \"phone\",\n+            label: \"Recipient Mobile Number\",\n+            optional: false\n+            }, \n+          {\n+            name: 'countrycode',\n+            control_type: :select,\n+            label: \"Format Number\",\n+            hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            optional: false,\n+            pick_list: [\n+              [\"Australia\", \"AU\"],\n+              [\"New Zealand\", \"NZ\"],\n+              [\"United Kingdom\", \"GB\"],\n+              [\"United States\", \"US\"],\n+              [\"Singapore\", \"SG\"]\n+            ],\n+            toggle_hint: \"Select Country\",\n+            toggle_field: {\n+              name: 'countrycode',\n+              label: \"Format Number\",\n+              type: :string,\n+              control_type: \"text\",\n+              optional: false,\n+              toggle_hint: \"Use Variable\",\n+              hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    # please see response section of https://support.burstsms.com/hc/en-us/articles/203098949-format-number\n+    format_number_response: {\n+      fields: ->() {\n+        [\n+          {\n+            name: 'error',\n+            type: 'object',\n+            properties: [\n+              { name: 'code', type: 'string' },\n+              { name: 'description', type: 'string'}\n+            ]\n+          },\n+          {\n+            name: 'number',\n+            type: 'object',\n+            properties: [\n+              { name: 'international', type: 'string' },\n+              { name: 'countrycode', type: 'string' },\n+              { name: 'isValid', type: 'boolean' },\n+              { name: 'national_leading_zeroes', type: 'string' },\n+              { name: 'nationalnumber', type: 'string' },\n+              { name: 'rawinput', type: 'string' },\n+              { name: 'type', type: 'integer' }\n+            ]\n+          }\n+        ]\n+      }\n+    },\n+    # please refer to https://support.burstsms.com/hc/en-us/articles/202500828-send-sms\n+    send_sms_request: {\n+      fields: ->() {\n+        [\n+          {\n+            name: 'message',\n+            label: \"Message Body\",\n+            type: 'string',\n+            control_type: 'text-area',\n+            optional: false\n+            },\n+          {\n+            name: 'to',\n+            type: 'phone',\n+            control_type: \"phone\",\n+            label: \"Recipient Mobile Number\",\n+            optional: false\n+            }, \n+          {\n+            name: 'countrycode',\n+            control_type: :select,\n+            label: \"Format Number\",\n+            hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            optional: true,\n+            pick_list: [\n+              [\"Australia\", \"AU\"],\n+              [\"New Zealand\", \"NZ\"],\n+              [\"United Kingdom\", \"GB\"],\n+              [\"United States\", \"US\"],\n+              [\"Singapore\", \"SG\"]\n+            ],\n+            toggle_hint: \"Select Country\",\n+            toggle_field: {\n+              name: 'countrycode',\n+              label: \"Format Number\",\n+              type: :string,\n+              control_type: \"text\",\n+              optional: false,\n+              toggle_hint: \"Use Variable\",\n+              hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            }\n+          },\n+          {\n+            name: 'virtual_number',\n+            control_type: \"select\", \n+            pick_list: \"numbers\",\n+            label: \"Sender ID\",\n+            hint: 'Can be left blank to use default shared number, static mobile number as sender or alphanumeric if <a href=\"https://support.burstsms.com/hc/en-us/articles/213656066-Global-SMS-Delivery-List\">supported</a>.',\n+            optional: true,\n+            toggle_hint: \"Select Virtual Number\",\n+            toggle_field: {\n+              name: 'sender_id',\n+              label: \"Sender ID\",\n+              type: :string,\n+              control_type: \"text\",\n+              optional: true,\n+              toggle_hint: \"Use Custom Sender ID or Variable\",\n+              hint: 'Can be left blank to use default shared number, static mobile number as sender or alphanumeric if <a href=\"https://support.burstsms.com/hc/en-us/articles/213656066-Global-SMS-Delivery-List\">supported</a>.'\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    # please refer to response section of https://support.burstsms.com/hc/en-us/articles/202500828-send-sms\n+    send_sms_response: {\n+      fields: ->() {\n+        [\n+          {\n+            name: 'results',\n+            type: 'object',\n+            properties: [\n+              { name: 'message_id', type: 'string' },\n+              { name: 'send_at', type: 'string' },\n+              { name: 'recipients', type: 'string' },\n+              { name: 'mobile', type: 'string' },\n+              { name: 'cost', type: 'string' },\n+              {\n+                name: 'error',\n+                type: 'object',\n+                properties: [\n+                  { name: 'code', type: 'string' },\n+                  { name: 'description', type: 'string' }\n+                ]\n+              },\n+              {\n+                name: 'delivery_stats',\n+                type: 'object',\n+                properties: [\n+                  { name: 'delivered',type: 'string' },\n+                  { name: 'pending',type: 'string' },\n+                  { name: 'bounced', type: 'string' },\n+                  { name: 'responses',type: 'string' },\n+                  { name: 'optouts', type: 'string' }\n+                ]\n+              }\n+            ]\n+          }\n+        ]\n+      }\n+    },\n+    # please refer to https://support.burstsms.com/hc/en-us/articles/202500828-send-sms\n+    send_sms_list_request: {\n+      fields: ->() {\n+        [\n+          { \n+            name: \"list_id\", \n+            control_type: \"select\", \n+            pick_list: \"contactList\",\n+            label: \"List that the contact is in.\",\n+            optional: false\n+          },\n+          {\n+            name: 'message',\n+            label: \"Message Body\",\n+            type: 'string',\n+            control_type: 'text-area',\n+            optional: false\n+          },     \n+          {\n+            name: 'virtual_number',\n+            control_type: \"select\", \n+            pick_list: \"numbers\",\n+            label: \"Sender ID\",\n+            hint: 'Can be left blank to use default shared number, static mobile number as sender or alphanumeric if <a href=\"https://support.burstsms.com/hc/en-us/articles/213656066-Global-SMS-Delivery-List\">supported</a>.',\n+            optional: true,\n+            toggle_hint: \"Select Virtual Number\",\n+            toggle_field: {\n+              name: 'sender_id',\n+              label: \"Sender ID\",\n+              type: :string,\n+              control_type: \"text\",\n+              optional: true,\n+              toggle_hint: \"Use Custom Sender ID or Variable\",\n+              hint: 'Can be left blank to use default shared number, static mobile number as sender or alphanumeric if <a href=\"https://support.burstsms.com/hc/en-us/articles/213656066-Global-SMS-Delivery-List\">supported</a>.'\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    # please refer to https://support.burstsms.com/hc/en-us/articles/203116337-HTTP-Callbacks\n+    sms_notification: {\n+      fields: ->() {\n+        [\n+          {\n+            name: 'message_id',\n+            type: 'string',\n+            hint: 'message unique indetifier',\n+            optional: false\n+          },\n+          {\n+            name: 'mobile',\n+            type: 'string',\n+            hint: 'Senders mobile'\n+          },\n+          {\n+            name: 'longcode',\n+            type: 'string',\n+            hint: 'The number message was delivered to'\n+          },\n+          {\n+            name: 'datetime_entry',\n+            type: 'string',\n+            hint: 'Date/time of delivery. UTC.'\n+          },\n+          {\n+            name: 'response',\n+            hint: 'Message text'\n+          },\n+          {\n+            name: 'is_optout',\n+            hint: 'Opt-out flag. yes or no'\n+          }\n+        ]\n+      }\n+    },\n+    # please refer to https://support.burstsms.com/hc/en-us/articles/203139007-add-to-list\n+    add_contact_to_list_request: {\n+      fields: ->(connection, config_fields) {\n+        if config_fields.blank?\n+        fields = []\n+        else \n+          fields = get(\"https://api.transmitsms.com/get-list.json\",{\n+            \"list_id\": config_fields[\"list_id\"]\n+          })[\"fields\"].map do |key, value|\n+            {\n+              name: key,\n+              type: 'string',\n+              label: value,\n+              hint: '',\n+              optional: true\n+            }\n+          end\n+        end\n+\n+        fields << {\n+          name: 'first_name',\n+          type: 'string',\n+          label: \"First Name\",\n+          hint: '',\n+          optional: true\n+        }\n+\n+        fields << {\n+          name: 'last_name',\n+          type: 'string',\n+          label: \"Last Name\",\n+          hint: '',\n+          optional: true\n+        }\n+\n+        fields << {\n+          name: 'to',\n+          type: 'phone',\n+          control_type: \"phone\",\n+          label: \"Recipient Mobile Number\",\n+          optional: false\n+        }\n+\n+        fields << {\n+          name: 'countrycode',\n+          control_type: :select,\n+          label: \"Country Code\",\n+          hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+          optional: false,\n+          pick_list: [\n+            [\"Australia\", \"AU\"],\n+            [\"New Zealand\", \"NZ\"],\n+            [\"United Kingdom\", \"GB\"],\n+            [\"United States\", \"US\"],\n+            [\"Singapore\", \"SG\"]\n+          ],\n+          toggle_hint: \"Select Country\",\n+          toggle_field: {\n+            name: 'countrycode',\n+            label: \"Format Number\",\n+            type: :string,\n+            control_type: \"text\",\n+            optional: false,\n+            toggle_hint: \"Use Variable\",\n+            hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+          }\n+        }\n+      }\n+    },\n+    # please refer to response section of https://support.burstsms.com/hc/en-us/articles/203139007-add-to-list\n+    add_contact_to_list_response: {\n+      fields: ->(connection, config_fields) {\n+        if config_fields.blank?\n+        fields = []\n+        else \n+          fields = get(\"https://api.transmitsms.com/get-list.json\",{\n+            \"list_id\": config_fields[\"list_id\"]\n+          })[\"fields\"].map do |key, value|\n+            { name: key, type: 'string' }\n+          end\n+        end\n+\n+        fields << { name: 'first_name', type: :string }\n+        fields << { name: 'last_name', type: :string }\n+        fields << { name: 'msisdn', type: :string }\n+        fields << { name: 'list_id', type: :string }\n+      }\n+    },\n+    new_contact_notification: {\n+      fields: ->(connection, config_fields) {\n+        if config_fields.blank?\n+        fields = []\n+        else \n+          fields = get(\"https://api.transmitsms.com/get-list.json\",{\n+            \"list_id\": config_fields[\"list_id\"]\n+          })[\"fields\"].map do |key, value|\n+            { name: key, type: 'string' }\n+          end\n+        end\n+        fields << { name: 'type', type: :string }\n+        fields << { name: 'firstname', type: :string }\n+        fields << { name: 'lastname', type: :string }\n+        fields << { name: 'mobile', type: :string }\n+        fields << { name: 'list_id', type: :string }\n+        fields << { name: 'datetime_entry', type: :string }\n+      }\n+    },\n+    #please refer to https://support.burstsms.com/hc/en-us/articles/202064463-delete-from-list\n+    delete_contact_to_list_request: {\n+      fields: ->() {\n+        [\n+          { \n+            name: \"list_id\", \n+            control_type: \"select\", \n+            pick_list: \"contactList\",\n+            label: \"Choose the List you want to add/update the contact from\",\n+            optional: false\n+          },\n+          {\n+            name: 'to',\n+            type: 'phone',\n+            control_type: \"phone\",\n+            label: \"Recipient Mobile Number\",\n+            optional: false\n+          },\n+          {\n+            name: 'countrycode',\n+            control_type: :select,\n+            label: \"Country Code\",\n+            hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            optional: false,\n+            pick_list: [\n+              [\"Australia\", \"AU\"],\n+              [\"New Zealand\", \"NZ\"],\n+              [\"United Kingdom\", \"GB\"],\n+              [\"United States\", \"US\"],\n+              [\"Singapore\", \"SG\"]\n+            ],\n+            toggle_hint: \"Select Country\",\n+            toggle_field: {\n+              name: 'countrycode',\n+              label: \"Format Number\",\n+              type: :string,\n+              control_type: \"text\",\n+              optional: false,\n+              toggle_hint: \"Use Variable\",\n+              hint: 'Automatically formats numbers given to international format required for reliable SMS delivery. eg. In Australia 0422222222 will become 6142222222 when country code is set to AU.',\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    #please refer to response section of https://support.burstsms.com/hc/en-us/articles/202064463-delete-from-list\n+    delete_contact_to_list_response: {\n+      fields: ->() {\n+        [\n+          { \n+            name: \"list_ids\", \n+            type: :array,\n+            properties: []\n+          }\n+        ]\n+      }\n+    },\n+    #please refer to response section of https://support.burstsms.com/hc/en-us/articles/360000158136-get-contact\n+    get_contact_response:{\n+      fields: ->(connection, config_fields) {\n+        if config_fields.blank?\n+        fields = []\n+        else \n+          fields = get(\"https://api.transmitsms.com/get-list.json\",{\n+            \"list_id\": config_fields[\"list_id\"]\n+          })[\"fields\"].map do |key, value|\n+            { name: key, type: 'string' }\n+          end\n+        end\n+\n+        fields << { name: 'first_name', type: 'string' }\n+        fields << { name: 'last_name', type: 'string' }\n+        fields << { name: 'msisdn', type: :string }\n+        fields << { name: 'list_id', type: :string }\n+        fields << { name: 'created_at', type: :string }\n+        fields << { name: 'status', type: :status }\n+        fields << { \n+          name: 'error', \n+          type: :object,\n+          properties: [\n+            { name: 'code',type: 'string' },\n+            { name: 'description',type: 'string' },\n+          ]\n+        }         \n+      }\n+    }\n+  },\n+  actions: {\n+    FormatNumber: {\n+      title: 'Format Number',\n+      description: \"Format a single mobile number.\",\n+      input_fields: ->(object_definitions) {\n+        object_definitions['format_number_request']\n+      },\n+      execute: ->(connection, input) {\n+        format_number_input = {\n+          \"msisdn\" => input[\"to\"]\n+        }\n+        if(input[\"countrycode\"].present?)\n+          format_number_input[\"countrycode\"] = input[\"countrycode\"].to_country_alpha2\n+        end\n+        get(\"https://api.transmitsms.com/format-number.json\",format_number_input)\n+      },\n+      output_fields: ->(object_definitions) {\n+        object_definitions['format_number_response']\n+      }\n+    },\n+    SendSMS: {\n+      title: 'Send SMS',\n+      description: \"Send a text message to a single mobile number.\",\n+      input_fields: ->(object_definitions) {\n+        object_definitions['send_sms_request']\n+      },\n+      execute: ->(connection, input) {\n+        format_number_input = {\n+          \"msisdn\" => input[\"to\"]\n+        }\n+        if(input[\"countrycode\"].present?)\n+          format_number_input[\"countrycode\"] = input[\"countrycode\"].to_country_alpha2\n+        end\n+        number = get(\"https://api.transmitsms.com/format-number.json\",format_number_input)\n+        if number[\"number\"].include?(\"isValid\")\n+          params = {\n+            \"message\" => input[\"message\"],\n+            \"to\" => number[\"number\"][\"international\"]\n+          }\n+          if(input[\"virtual_number\"].present?)\n+            from = input[\"virtual_number\"]\n+          end\n+          if(input[\"sender_id\"].present?) \n+            from = input[\"sender_id\"]\n+          end\n+          if(from.present?)\n+            params[\"from\"] = from\n+          end\n+          results = get(\"https://api.transmitsms.com/send-sms.json\",params)\n+          results[\"mobile\"] = number[\"number\"][\"international\"]\n+          { results: results }\n+        end\n+      },\n+      output_fields: ->(object_definitions) {\n+        object_definitions['send_sms_response']\n+      }\n+    },\n+    SendSMSToList: {\n+      title: 'Send SMS To List',\n+      description: \"Send a text message to a list of contact.\",\n+      input_fields: ->(object_definitions) {\n+        object_definitions['send_sms_list_request']\n+      },\n+      execute: ->(connection, input) {\n+        params = {\n+          \"message\" => input[\"message\"],\n+          \"list_id\" => input[\"list_id\"]\n+        }\n+        if(input[\"virtual_number\"].present?)\n+          from = input[\"virtual_number\"]\n+        end\n+        if(input[\"sender_id\"].present?) \n+          from = input[\"sender_id\"]\n+        end\n+        if(from.present?)\n+          params[\"from\"] = from\n+        end\n+        results = get(\"https://api.transmitsms.com/send-sms.json\",params)\n+        { results: results }\n+      },\n+\n+      output_fields: ->(object_definitions) {\n+        object_definitions['send_sms_response']\n+        }\n+    },\n+    AddContact: {\n+      title: 'Add/Update Contact',\n+      description: \"Adds or update a contact on a Burst SMS list.\",\n+      config_fields: [\n+        { \n+          name: \"list_id\", \n+          control_type: \"select\", \n+          pick_list: \"contactList\",\n+          label: \"Choose the List you want to add/update the contact from\",\n+          optional: false\n+        }\n+      ],\n+      input_fields: ->(object_definitions) {\n+        object_definitions['add_contact_to_list_request']\n+      },\n+      execute: ->(connection, input) {\n+        number = get(\"https://api.transmitsms.com/format-number.json\").\n+        params( msisdn: input[\"to\"], countrycode: input[\"countrycode\"].to_country_alpha2)\n+        if number[\"number\"].include?(\"isValid\")\n+          input[\"msisdn\"] = number[\"number\"][\"international\"]\n+          put(\"https://frontapi.transmitsms.com/zapier/add-to-list.json\",input)\n+        end\n+      },\n+      output_fields: ->(object_definitions) {\n+        object_definitions['add_contact_to_list_response']\n+      }\n+    },\n+    DeleteContact: {\n+      title: 'Delete Contact',\n+      description: \"Delete a contact on a Burst SMS list.\",\n+      input_fields: ->(object_definitions) {\n+        object_definitions['delete_contact_to_list_request']\n+      },\n+      execute: ->(connection, input) {\n+\n+        number = get(\"https://api.transmitsms.com/format-number.json\").\n+        params(msisdn: input[\"to\"], countrycode: input[\"countrycode\"].to_country_alpha2)\n+\n+        if number[\"number\"].include?(\"isValid\")\n+\n+        params = {\n+          \"list_id\" => input[\"list_id\"],\n+          \"msisdn\" => number[\"number\"][\"international\"]\n+        }\n+\n+        put(\"https://frontapi.transmitsms.com/zapier/delete-from-list.json\",params)\n+\n+        end\n+      },\n+      output_fields: ->(object_definitions) {\n+        object_definitions['delete_contact_to_list_response']\n+      }\n+    },\n+    GetContact: {\n+      title: 'Get Contact',\n+      description: \"Get contact information from a list.\",\n+      config_fields:[\n+        { \n+          name: \"list_id\", \n+          control_type: \"select\", \n+          pick_list: \"contactList\",\n+          label: \"List that the contact is in.\",\n+          optional: false\n+        }\n+      ],\n+      input_fields: ->() {\n+        [\n+          {\n+            name: 'msisdn',\n+            type: 'mobile',\n+            control_type: \"phone\",\n+            label: \"Recipient Mobile Number\",\n+            optional: false\n+          }\n+        ]\n+      },\n+      execute: ->(connection, input) {\n+        get(\"https://api.transmitsms.com/get-contact.json\").\n+          params(msisdn: input[\"msisdn\"], list_id: input[\"list_id\"])\n+      },\n+      output_fields: lambda do |object_definitions|\n+        object_definitions['get_contact_response']\n+      end\n+    }\n+  },\n+  triggers: {\n+    new_message: {\n+      title: \"Message received\",\n+      description: \"Message received to virtual number\",\n+      input_fields: ->() {\n+        [\n+          { \n+            name: \"virtual_number\", \n+            control_type: \"select\", \n+            pick_list: \"numbers\",\n+            label: \"Virtual Number\",\n+            hint: \"Can be purchased in the NUMBERS section of your transmitsms.com account\",\n+            optional: false\n+          },\n+        ]\n+      },\n+      type: :paging_desc,\n+      webhook_subscribe: lambda do |webhook_url, connection, input, recipe_id|\n+        get(\"https://api.transmitsms.com/edit-number-options.json\").\n+          params(number: input[\"virtual_number\"], forward_url: webhook_url)\n+      end,\n+      webhook_notification: ->(input, payload) {\n+        payload\n+      },\n+      webhook_unsubscribe: lambda do |webhook|\n+        # work in progress will be delivered in later phases\n+      end,\n+      dedup: ->(messages) {\n+        Time.now\n+      },\n+      output_fields: ->(object_definitions){\n+        object_definitions[\"sms_notification\"]\n+      }\n+    },\n+    new_contact: {\n+      title: \"New contact\",\n+      description: \"New contact added to transmitsms.com list\",\n+      config_fields:[\n+        { \n+        name: \"list_id\", \n+        control_type: \"select\", \n+        pick_list: \"contactList\",\n+        label: \"Choose the contact list you want to get updates from\",\n+        optional: false\n+        }\n+      ],\n+      type: :paging_desc,\n+      webhook_subscribe: lambda do |webhook_url, connection, input, recipe_id|\n+        get(\"https://api.transmitsms.com/set-list-callback.json\").\n+        params(list_id: input[\"list_id\"], url: webhook_url)\n+      end,\n+      webhook_notification: lambda do |input, payload|\n+        if(payload[\"type\"] == \"add\")\n+        payload\n+        end\n+      end,\n+      webhook_unsubscribe: lambda do |webhook|\n+        # work in progress will be delivered in later phases\n+      end,\n+      dedup: ->(contact) {\n+        contact[\"mobile\"]\n+      },\n+      output_fields: lambda do |object_definitions|\n+        object_definitions['new_contact_notification']","path":"basic_auth/transmitsms_connector.rb","position":696,"original_position":696,"commit_id":"b36c87175c2a8149ec26a5588d81012a28cc6641","original_commit_id":"b36c87175c2a8149ec26a5588d81012a28cc6641","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2018-07-10T23:32:27Z","updated_at":"2018-07-10T23:32:27Z","html_url":"https://github.com/workato/connector_sdk/pull/125#discussion_r201527136","pull_request_url":"https://api.github.com/repos/workato/connector_sdk/pulls/125","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/comments/201527136"},"html":{"href":"https://github.com/workato/connector_sdk/pull/125#discussion_r201527136"},"pull_request":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/workato/connector_sdk/pulls/125","id":197599221,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3NTk5MjIx","html_url":"https://github.com/workato/connector_sdk/pull/125","diff_url":"https://github.com/workato/connector_sdk/pull/125.diff","patch_url":"https://github.com/workato/connector_sdk/pull/125.patch","issue_url":"https://api.github.com/repos/workato/connector_sdk/issues/125","number":125,"state":"open","locked":false,"title":"commit code for burstsms transmitsms_connector","user":{"login":"facascante","id":2068673,"node_id":"MDQ6VXNlcjIwNjg2NzM=","avatar_url":"https://avatars3.githubusercontent.com/u/2068673?v=4","gravatar_id":"","url":"https://api.github.com/users/facascante","html_url":"https://github.com/facascante","followers_url":"https://api.github.com/users/facascante/followers","following_url":"https://api.github.com/users/facascante/following{/other_user}","gists_url":"https://api.github.com/users/facascante/gists{/gist_id}","starred_url":"https://api.github.com/users/facascante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facascante/subscriptions","organizations_url":"https://api.github.com/users/facascante/orgs","repos_url":"https://api.github.com/users/facascante/repos","events_url":"https://api.github.com/users/facascante/events{/privacy}","received_events_url":"https://api.github.com/users/facascante/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-27T02:18:27Z","updated_at":"2018-07-10T23:32:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb1399b4a66e405ed3d2a28a343cc28917d56393","assignee":{"login":"brendonyang","id":39894932,"node_id":"MDQ6VXNlcjM5ODk0OTMy","avatar_url":"https://avatars1.githubusercontent.com/u/39894932?v=4","gravatar_id":"","url":"https://api.github.com/users/brendonyang","html_url":"https://github.com/brendonyang","followers_url":"https://api.github.com/users/brendonyang/followers","following_url":"https://api.github.com/users/brendonyang/following{/other_user}","gists_url":"https://api.github.com/users/brendonyang/gists{/gist_id}","starred_url":"https://api.github.com/users/brendonyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendonyang/subscriptions","organizations_url":"https://api.github.com/users/brendonyang/orgs","repos_url":"https://api.github.com/users/brendonyang/repos","events_url":"https://api.github.com/users/brendonyang/events{/privacy}","received_events_url":"https://api.github.com/users/brendonyang/received_events","type":"User","site_admin":false},"assignees":[{"login":"brendonyang","id":39894932,"node_id":"MDQ6VXNlcjM5ODk0OTMy","avatar_url":"https://avatars1.githubusercontent.com/u/39894932?v=4","gravatar_id":"","url":"https://api.github.com/users/brendonyang","html_url":"https://github.com/brendonyang","followers_url":"https://api.github.com/users/brendonyang/followers","following_url":"https://api.github.com/users/brendonyang/following{/other_user}","gists_url":"https://api.github.com/users/brendonyang/gists{/gist_id}","starred_url":"https://api.github.com/users/brendonyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendonyang/subscriptions","organizations_url":"https://api.github.com/users/brendonyang/orgs","repos_url":"https://api.github.com/users/brendonyang/repos","events_url":"https://api.github.com/users/brendonyang/events{/privacy}","received_events_url":"https://api.github.com/users/brendonyang/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"brendonyang","id":39894932,"node_id":"MDQ6VXNlcjM5ODk0OTMy","avatar_url":"https://avatars1.githubusercontent.com/u/39894932?v=4","gravatar_id":"","url":"https://api.github.com/users/brendonyang","html_url":"https://github.com/brendonyang","followers_url":"https://api.github.com/users/brendonyang/followers","following_url":"https://api.github.com/users/brendonyang/following{/other_user}","gists_url":"https://api.github.com/users/brendonyang/gists{/gist_id}","starred_url":"https://api.github.com/users/brendonyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendonyang/subscriptions","organizations_url":"https://api.github.com/users/brendonyang/orgs","repos_url":"https://api.github.com/users/brendonyang/repos","events_url":"https://api.github.com/users/brendonyang/events{/privacy}","received_events_url":"https://api.github.com/users/brendonyang/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/workato/connector_sdk/pulls/125/commits","review_comments_url":"https://api.github.com/repos/workato/connector_sdk/pulls/125/comments","review_comment_url":"https://api.github.com/repos/workato/connector_sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/workato/connector_sdk/issues/125/comments","statuses_url":"https://api.github.com/repos/workato/connector_sdk/statuses/b36c87175c2a8149ec26a5588d81012a28cc6641","head":{"label":"burstsms:burst-sms","ref":"burst-sms","sha":"b36c87175c2a8149ec26a5588d81012a28cc6641","user":{"login":"burstsms","id":1977757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5Nzc3NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1977757?v=4","gravatar_id":"","url":"https://api.github.com/users/burstsms","html_url":"https://github.com/burstsms","followers_url":"https://api.github.com/users/burstsms/followers","following_url":"https://api.github.com/users/burstsms/following{/other_user}","gists_url":"https://api.github.com/users/burstsms/gists{/gist_id}","starred_url":"https://api.github.com/users/burstsms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burstsms/subscriptions","organizations_url":"https://api.github.com/users/burstsms/orgs","repos_url":"https://api.github.com/users/burstsms/repos","events_url":"https://api.github.com/users/burstsms/events{/privacy}","received_events_url":"https://api.github.com/users/burstsms/received_events","type":"Organization","site_admin":false},"repo":{"id":138817696,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4MTc2OTY=","name":"connector_sdk","full_name":"burstsms/connector_sdk","owner":{"login":"burstsms","id":1977757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5Nzc3NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/1977757?v=4","gravatar_id":"","url":"https://api.github.com/users/burstsms","html_url":"https://github.com/burstsms","followers_url":"https://api.github.com/users/burstsms/followers","following_url":"https://api.github.com/users/burstsms/following{/other_user}","gists_url":"https://api.github.com/users/burstsms/gists{/gist_id}","starred_url":"https://api.github.com/users/burstsms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burstsms/subscriptions","organizations_url":"https://api.github.com/users/burstsms/orgs","repos_url":"https://api.github.com/users/burstsms/repos","events_url":"https://api.github.com/users/burstsms/events{/privacy}","received_events_url":"https://api.github.com/users/burstsms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/burstsms/connector_sdk","description":"Connector SDK samples and documentation","fork":true,"url":"https://api.github.com/repos/burstsms/connector_sdk","forks_url":"https://api.github.com/repos/burstsms/connector_sdk/forks","keys_url":"https://api.github.com/repos/burstsms/connector_sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/burstsms/connector_sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/burstsms/connector_sdk/teams","hooks_url":"https://api.github.com/repos/burstsms/connector_sdk/hooks","issue_events_url":"https://api.github.com/repos/burstsms/connector_sdk/issues/events{/number}","events_url":"https://api.github.com/repos/burstsms/connector_sdk/events","assignees_url":"https://api.github.com/repos/burstsms/connector_sdk/assignees{/user}","branches_url":"https://api.github.com/repos/burstsms/connector_sdk/branches{/branch}","tags_url":"https://api.github.com/repos/burstsms/connector_sdk/tags","blobs_url":"https://api.github.com/repos/burstsms/connector_sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/burstsms/connector_sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/burstsms/connector_sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/burstsms/connector_sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/burstsms/connector_sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/burstsms/connector_sdk/languages","stargazers_url":"https://api.github.com/repos/burstsms/connector_sdk/stargazers","contributors_url":"https://api.github.com/repos/burstsms/connector_sdk/contributors","subscribers_url":"https://api.github.com/repos/burstsms/connector_sdk/subscribers","subscription_url":"https://api.github.com/repos/burstsms/connector_sdk/subscription","commits_url":"https://api.github.com/repos/burstsms/connector_sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/burstsms/connector_sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/burstsms/connector_sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/burstsms/connector_sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/burstsms/connector_sdk/contents/{+path}","compare_url":"https://api.github.com/repos/burstsms/connector_sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/burstsms/connector_sdk/merges","archive_url":"https://api.github.com/repos/burstsms/connector_sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/burstsms/connector_sdk/downloads","issues_url":"https://api.github.com/repos/burstsms/connector_sdk/issues{/number}","pulls_url":"https://api.github.com/repos/burstsms/connector_sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/burstsms/connector_sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/burstsms/connector_sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/burstsms/connector_sdk/labels{/name}","releases_url":"https://api.github.com/repos/burstsms/connector_sdk/releases{/id}","deployments_url":"https://api.github.com/repos/burstsms/connector_sdk/deployments","created_at":"2018-06-27T02:13:03Z","updated_at":"2018-06-27T02:13:05Z","pushed_at":"2018-07-10T23:32:13Z","git_url":"git://github.com/burstsms/connector_sdk.git","ssh_url":"git@github.com:burstsms/connector_sdk.git","clone_url":"https://github.com/burstsms/connector_sdk.git","svn_url":"https://github.com/burstsms/connector_sdk","homepage":"","size":1910,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"workato:burst-sms","ref":"burst-sms","sha":"2358b2a311ae9a3e6d60de57f61ffd6240de1fea","user":{"login":"workato","id":5629924,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mjk5MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5629924?v=4","gravatar_id":"","url":"https://api.github.com/users/workato","html_url":"https://github.com/workato","followers_url":"https://api.github.com/users/workato/followers","following_url":"https://api.github.com/users/workato/following{/other_user}","gists_url":"https://api.github.com/users/workato/gists{/gist_id}","starred_url":"https://api.github.com/users/workato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workato/subscriptions","organizations_url":"https://api.github.com/users/workato/orgs","repos_url":"https://api.github.com/users/workato/repos","events_url":"https://api.github.com/users/workato/events{/privacy}","received_events_url":"https://api.github.com/users/workato/received_events","type":"Organization","site_admin":false},"repo":{"id":54221993,"node_id":"MDEwOlJlcG9zaXRvcnk1NDIyMTk5Mw==","name":"connector_sdk","full_name":"workato/connector_sdk","owner":{"login":"workato","id":5629924,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mjk5MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5629924?v=4","gravatar_id":"","url":"https://api.github.com/users/workato","html_url":"https://github.com/workato","followers_url":"https://api.github.com/users/workato/followers","following_url":"https://api.github.com/users/workato/following{/other_user}","gists_url":"https://api.github.com/users/workato/gists{/gist_id}","starred_url":"https://api.github.com/users/workato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/workato/subscriptions","organizations_url":"https://api.github.com/users/workato/orgs","repos_url":"https://api.github.com/users/workato/repos","events_url":"https://api.github.com/users/workato/events{/privacy}","received_events_url":"https://api.github.com/users/workato/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/workato/connector_sdk","description":"Connector SDK samples and documentation","fork":false,"url":"https://api.github.com/repos/workato/connector_sdk","forks_url":"https://api.github.com/repos/workato/connector_sdk/forks","keys_url":"https://api.github.com/repos/workato/connector_sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/workato/connector_sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/workato/connector_sdk/teams","hooks_url":"https://api.github.com/repos/workato/connector_sdk/hooks","issue_events_url":"https://api.github.com/repos/workato/connector_sdk/issues/events{/number}","events_url":"https://api.github.com/repos/workato/connector_sdk/events","assignees_url":"https://api.github.com/repos/workato/connector_sdk/assignees{/user}","branches_url":"https://api.github.com/repos/workato/connector_sdk/branches{/branch}","tags_url":"https://api.github.com/repos/workato/connector_sdk/tags","blobs_url":"https://api.github.com/repos/workato/connector_sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/workato/connector_sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/workato/connector_sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/workato/connector_sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/workato/connector_sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/workato/connector_sdk/languages","stargazers_url":"https://api.github.com/repos/workato/connector_sdk/stargazers","contributors_url":"https://api.github.com/repos/workato/connector_sdk/contributors","subscribers_url":"https://api.github.com/repos/workato/connector_sdk/subscribers","subscription_url":"https://api.github.com/repos/workato/connector_sdk/subscription","commits_url":"https://api.github.com/repos/workato/connector_sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/workato/connector_sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/workato/connector_sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/workato/connector_sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/workato/connector_sdk/contents/{+path}","compare_url":"https://api.github.com/repos/workato/connector_sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/workato/connector_sdk/merges","archive_url":"https://api.github.com/repos/workato/connector_sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/workato/connector_sdk/downloads","issues_url":"https://api.github.com/repos/workato/connector_sdk/issues{/number}","pulls_url":"https://api.github.com/repos/workato/connector_sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/workato/connector_sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/workato/connector_sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/workato/connector_sdk/labels{/name}","releases_url":"https://api.github.com/repos/workato/connector_sdk/releases{/id}","deployments_url":"https://api.github.com/repos/workato/connector_sdk/deployments","created_at":"2016-03-18T18:08:56Z","updated_at":"2018-07-10T19:35:36Z","pushed_at":"2018-07-10T23:32:15Z","git_url":"git://github.com/workato/connector_sdk.git","ssh_url":"git@github.com:workato/connector_sdk.git","clone_url":"https://github.com/workato/connector_sdk.git","svn_url":"https://github.com/workato/connector_sdk","homepage":"","size":1988,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":39,"license":null,"forks":38,"open_issues":39,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/125"},"html":{"href":"https://github.com/workato/connector_sdk/pull/125"},"issue":{"href":"https://api.github.com/repos/workato/connector_sdk/issues/125"},"comments":{"href":"https://api.github.com/repos/workato/connector_sdk/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/workato/connector_sdk/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/workato/connector_sdk/statuses/b36c87175c2a8149ec26a5588d81012a28cc6641"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}